Helpers are small utilities that can be loaded to assist a performing certain functions. Helpers are simply global functions that get loaded when requesting them. Helpers can be loaded using (\FuzeWorks\)Helpers::load('helperName'); Helpers can be put in the 'Core/Helpers' or the 'Application/Helpers' directory. The 'Applications/Helpers' directory is scanned first, so this one has priority over Core helpers. It is possible to sort of 'extend' helpers. By putting a helper in the 'Application/Helpers' directory with the application prefix (found in config.main.php) you can load that helper first and then the helper in the core directory. This allows you to add or override functions without the need of copying the entire helper from the core. For example: there is a helper in the core directory named 'example_helper.php'. This one has a function named 'doSomething();' inside it. If you now create a helper in the application directory named 'MY_example_helper.php', then that one will be loaded first and can override the core class because the application helper is loaded first. More detailed instructions will be provided in the documentation. |
||
---|---|---|
Application | ||
Core | ||
Modules | ||
tests | ||
.gitignore | ||
.htaccess | ||
build.xml | ||
composer.json | ||
CONTRIBUTING.md | ||
Database.sql | ||
DCO | ||
index.php | ||
LICENSE | ||
phpunit.xml | ||
README.md | ||
VERSION |
FuzeWorks - Readme
Version 0.0.1-DEV
A versatile PHP Framework built to perform.
https://fuzeworks.techfuze.net/
Summary
FuzeWorks is a flexible PHP Framework made for the requirements of todays web. For a summary of features, list of requirements, and installation instructions, please see the documentation in the ./doc/ folder or at http://fuzeworks.techfuze.net/
Copyright
Copyright © 2013 onwards -- TechFuze
Certain libraries are copyrighted by their respective authors; see the full copyright list for details.
For full copyright information, please see ./doc/copyright.html
License
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Licensing of current contributions
Beginning on 2015-08-26, new contributions to this codebase are all licensed under terms compatible with GPLv3-or-later. FuzeWorks is currently transitioning older code to GPLv3-or-later, but work is not yet complete.
Enjoy!
TechFuze