PHP Class lithium\console\command\create\Controller

Inheritance: extends lithium\console\command\Create
Datei anzeigen Open project: unionofrad/lithium Class Usage Examples

Protected Methods

Method Description
_class ( string $request ) : string Get the controller class name.
_model ( string $request ) : string Get the model class used in controller methods.
_name ( string $request ) : string Returns the name of the controller class, minus 'Controller'.
_plural ( string $request ) : string Get the plural variable used for data in controller methods.
_singular ( string $request ) : string Get the singular variable to use for data in controller methods.
_use ( string $request ) : string Get the fully-qualified model class that is used by the controller.

Method Details

_class() protected method

Get the controller class name.
protected _class ( string $request ) : string
$request string
return string

_model() protected method

Get the model class used in controller methods.
protected _model ( string $request ) : string
$request string
return string

_name() protected method

Returns the name of the controller class, minus 'Controller'.
protected _name ( string $request ) : string
$request string
return string

_plural() protected method

Get the plural variable used for data in controller methods.
protected _plural ( string $request ) : string
$request string
return string

_singular() protected method

Get the singular variable to use for data in controller methods.
protected _singular ( string $request ) : string
$request string
return string

_use() protected method

Get the fully-qualified model class that is used by the controller.
protected _use ( string $request ) : string
$request string
return string