PHP 클래스 lithium\console\command\create\View

li3 create view Posts index li3 create --library=li3_plugin view Posts index
상속: extends lithium\console\command\Create
파일 보기 프로젝트 열기: unionofrad/lithium 1 사용 예제들

보호된 메소드들

메소드 설명
_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.

메소드 상세

_name() 보호된 메소드

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

_plural() 보호된 메소드

Get the plural data variable that is sent down from controller method.
protected _plural ( string $request ) : string
$request string
리턴 string

_save() 보호된 메소드

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

_singular() 보호된 메소드

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