Property | Type | Description | |
---|---|---|---|
$layout | string | The currently used Layout. | |
$template | string | The currently used Template. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
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 | ||
return | string |
public getTemplate ( ) : string | ||
return | string |
protected processResponse ( mixed $response ) : |
||
$response | mixed | |
return |