PHP Class lithium\console\command\create\View

li3 create view Posts index li3 create --library=li3_plugin view Posts index
Inheritance: extends lithium\console\command\Create
ファイルを表示 Open project: unionofrad/lithium Class Usage Examples

Protected Methods

Method Description
_name ( string $request ) : string Returns the name of the controller class, minus 'Controller'.
_plural ( string $request ) : string Get the plural data variable that is sent down from controller method.
_save ( array $params = [] ) : mixed Override the save method to handle view specific params.
_singular ( string $request ) : string Get the singular data variable that is sent down from controller methods.

Method Details

_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 data variable that is sent down from controller method.
protected _plural ( string $request ) : string
$request string
return string

_save() protected method

Override the save method to handle view specific params.
protected _save ( array $params = [] ) : mixed
$params array
return mixed

_singular() protected method

Get the singular data variable that is sent down from controller methods.
protected _singular ( string $request ) : string
$request string
return string