Methods summary
public
string|string[]|integer|int[]|boolean|bool[]|array|mixed
|
#
GetParam( string $name = "", string|array|boolean $pregReplaceAllowedChars = "a-zA-Z0-9_;, /\-\@\:", mixed $ifNullValue = NULL, string $targetType = NULL )
Parameters
- $name
- Parameter string name.
- $pregReplaceAllowedChars
- If String - list of regular expression characters to only keep, if array -
preg_replace() pattern and reverse, if FALSE , raw value is returned.
- $ifNullValue
- Default value returned if given param name is null.
- $targetType
- Target type to retype param value or default if-null value. If param is an array, every param item will be retyped into given target type.
Returns
string|string[]|integer|int[]|boolean|bool[]|array|mixed
Inheritdocs
|
public
MvcCore\Application
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Environment
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Request
|
|
public
MvcCore\Controller
|
|
public
string
|
|
public
MvcCore\Controller
|
|
public
string
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Response
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Router
|
|
public
MvcCore\Controller
|
|
public
boolean
|
#
IsAjax( )
Returns
boolean
Inheritdocs
|
public
MvcCore\Controller
|
#
SetIsAjax( boolean $ajax )
Parameters
Returns
Inheritdocs
|
public
MvcCore\Model
|
|
public
MvcCore\Controller
|
|
public
MvcCore\View |null
|
|
public
MvcCore\Controller
|
|
public
integer
|
|
public
MvcCore\Controller
|
#
SetRenderMode( integer $renderMode = \MvcCore\IView::RENDER_WITH_OB_FROM_ACTION_TO_LAYOUT )
Parameters
Returns
Inheritdocs
|
public
string
|
|
public
MvcCore\Controller
|
#
SetLayout( string $layout = '' )
Parameters
Returns
Inheritdocs
|
public
string|null
|
|
public
MvcCore\Controller
|
|
public
boolean
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Controller |null
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Controller[]
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Controller
|
|
public
MvcCore\Config |null
|
#
GetConfig( string $appRootRelativePath )
Parameters
- $appRootRelativePath
- Any config relative path like
'/%appPath%/website.ini' .
Returns
Inheritdocs
|
public
MvcCore\Config |null
|
|
public
string
|
#
Url( string $controllerActionOrRouteName = 'Index:Index', array $params = [] )
Parameters
- $controllerActionOrRouteName
- Should be
"Controller:Action" combination or just any route name as custom specific string.
- $params
- Optional, array with params, key is param name, value is param value.
Returns
string
Inheritdocs
|
public
string
|
#
AssetUrl( string $path = '' )
Parameters
Returns
string
Inheritdocs
|