Core_Command_Controller_Default
extends Core_Command_Controller
in package
Core command controller.
Tags
Table of Contents
Properties
- $_uri : string|null
- URI
Methods
- getStructure() : Structure_Model
- Get Structure_Model which satisfy URI $path
- getUri() : Core_Command_Controller
- Get URI
- setUri() : Core_Command_Controller
- Set URI
- showAction() : Core_Response
- Default controller action
- _checkCache() : mixed
- Check possibility of using static cache
- _iconv() : string
- Convert string to requested character encoding
- _safeEmailCallback() : string
- Safe Email Callback Function
Properties
$_uri
URI
protected
string|null
$_uri
= \NULL
Methods
getStructure()
Get Structure_Model which satisfy URI $path
public
getStructure(string $path, int $site_id) : Structure_Model
Parameters
- $path : string
-
URI
- $site_id : int
-
site ID
Return values
Structure_ModelgetUri()
Get URI
public
getUri() : Core_Command_Controller
Return values
Core_Command_ControllersetUri()
Set URI
public
setUri(string $uri) : Core_Command_Controller
Parameters
- $uri : string
-
URI
Return values
Core_Command_ControllershowAction()
Default controller action
public
showAction() : Core_Response
Tags
Return values
Core_Response_checkCache()
Check possibility of using static cache
protected
_checkCache() : mixed
_iconv()
Convert string to requested character encoding
protected
_iconv(string $out_charset, string $content) : string
Parameters
- $out_charset : string
-
The output charset.
- $content : string
-
The string to be converted.
Return values
string_safeEmailCallback()
Safe Email Callback Function
protected
_safeEmailCallback(array<string|int, mixed> $matches) : string
Parameters
- $matches : array<string|int, mixed>
-
matches