Controller
class Controller
Methods
static array
modules_paths()
Returns an array of module paths locations.
void
load_routes()
Loads the module routes if the routes.php file exists in the module directory.
string
getDir()
Gets the directory of the current class file.
string
getClassName()
Gets the short class name of the current class.
void
copyResources(array $options)
Copies resources from the module to the destination.
Details
at line 11
static array
modules_paths()
Returns an array of module paths locations.
at line 23
void
load_routes()
Loads the module routes if the routes.php file exists in the module directory.
at line 35
string
getDir()
Gets the directory of the current class file.
at line 45
string
getClassName()
Gets the short class name of the current class.
at line 61
void
copyResources(array $options)
Copies resources from the module to the destination.