How does helpers, libraries and ThirdParty work? |
Hello!
I will answer your question in parts.
Helpers can be used this way:
PHP Code: helper($filename) Documentation link When a new helper is created, the file name must be convert_helper.php for example and is loaded in the same way as above, in this case helper ('convert') A library is used as follows: PHP Code: <?php To load automatically, use the Base Controller and extend it in your controller classes PHP Code: <?php and your controller extends BaseController |
Messages In This Thread |
How does helpers, libraries and ThirdParty work? - by jackylim - 03-07-2020, 03:59 AM
RE: How does helpers, libraries and ThirdParty work? - by MatheusCastro - 03-07-2020, 04:55 AM
RE: How does helpers, libraries and ThirdParty work? - by jackylim - 03-07-2020, 07:16 PM
RE: How does helpers, libraries and ThirdParty work? - by captain-sensible - 03-09-2020, 05:07 AM
|