PHP Class Pimcore\View

Inheritance: extends Zend_View
Show file Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Property Type Description
$request Zend_Controller_Request_Abstract

Public Methods

Method Description
__call ( string $method, array $arguments ) : mixed | Tag | string
_getAllParams ( ) : array
_getParam ( $key, null $default = null ) : mixed
getAllParams ( ) : array
getParam ( $key, $default = null ) : mixed
getRequest ( ) : Zend_Controller_Request_Http
getViewScriptSuffix ( ) : string
inc ( $include, array $params = null, $cacheEnabled = true ) : string includes a document
includeTemplateFile ( string $script )
setRequest ( Zend_Controller_Request_Abstract $request )
t ( ) shorthand for $this->translate() view helper
tag ( $type, $realName, array $options = [] ) : Tag
template ( $scriptPath, array $params = [], boolean $resetPassedParams = false, boolean $capture = false ) : string
ts ( ) shorthand for $this->translateAdmin() view helper

Method Details

__call() public method

public __call ( string $method, array $arguments ) : mixed | Tag | string
$method string
$arguments array
return mixed | Pimcore\Model\Document\Tag | string

_getAllParams() public method

Deprecation:
public _getAllParams ( ) : array
return array

_getParam() public method

public _getParam ( $key, null $default = null ) : mixed
$key
$default null
return mixed

getAllParams() public method

public getAllParams ( ) : array
return array

getParam() public method

public getParam ( $key, $default = null ) : mixed
$key
$default
return mixed

getRequest() public method

public getRequest ( ) : Zend_Controller_Request_Http
return Zend_Controller_Request_Http

getViewScriptSuffix() public static method

public static getViewScriptSuffix ( ) : string
return string

inc() public method

includes a document
public inc ( $include, array $params = null, $cacheEnabled = true ) : string
$include
$params array
return string

includeTemplateFile() public method

public includeTemplateFile ( string $script )
$script string

setRequest() public method

public setRequest ( Zend_Controller_Request_Abstract $request )
$request Zend_Controller_Request_Abstract

t() public method

shorthand for $this->translate() view helper
public t ( )

tag() public method

public tag ( $type, $realName, array $options = [] ) : Tag
$type
$realName
$options array
return Pimcore\Model\Document\Tag

template() public method

public template ( $scriptPath, array $params = [], boolean $resetPassedParams = false, boolean $capture = false ) : string
$scriptPath
$params array
$resetPassedParams boolean
$capture boolean
return string

ts() public method

shorthand for $this->translateAdmin() view helper
public ts ( )

Property Details

$request protected property

protected Zend_Controller_Request_Abstract $request
return Zend_Controller_Request_Abstract