AclExtras::getControllerList PHP Méthode

getControllerList() public méthode

Returns an array of path => import notation.
public getControllerList ( string $plugin = null ) : array
$plugin string Name of plugin to get controllers for
Résultat array
    public function getControllerList($plugin = null)
    {
        if (!$plugin) {
            $controllers = App::objects('Controller', null, false);
        } else {
            $controllers = App::objects($plugin . '.Controller', null, false);
        }
        return $controllers;
    }