Register an available feature, and the root namespace where the helpers are found Features allow the Sprout core to access code provided by modules without needing to hard-code the namespace of these modules
This is the code documentation for the SproutCMS project
Search documentation |
function feature()Register an available feature, and the root namespace where the helpers are found Features allow the Sprout core to access code provided by modules without needing to hard-code the namespace of these modules
Usagevoid Register::feature ( string $code , string $namespace ); ExampleRegister::feature('users', 'SproutModules\Karmabunny\Users'); Arguments
Return value
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|