프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$layout | string | The currently used Layout. | |
$template | string | The currently used Template. |
메소드 | 설명 | |
---|---|---|
__construct ( ) | Create a new Controller instance. | |
getLayout ( string | null $layout = null, array $data = [] ) : Template\Template | View\View | Return a Layout instance. | |
getLayoutName ( ) : string | Return the current Layout (class) name. | |
getTemplate ( ) : string | Return the current Template name. |
메소드 | 설명 | |
---|---|---|
getView ( array $data = [] ) : Nova\View\View | Return a default View instance. | |
processResponse ( mixed $response ) : |
Create from the given result a Response instance and send it. |
public getLayoutName ( ) : string | ||
리턴 | string |
protected processResponse ( mixed $response ) : |
||
$response | mixed | |
리턴 |