PHP Class Pimcore\Controller\Router\Route\Frontend

Inheritance: extends Zend_Controller_Router_Route_Abstract
Show file Open project: pimcore/pimcore

Public Properties

Property Type Description
$_defaults array
$directRouteTypes array

Protected Properties

Property Type Description
$nearestDocumentByPath array
$redirects array

Public Methods

Method Description
addDirectRouteDocumentType ( $type )
assemble ( array $data = [], boolean $reset = false, boolean $encode = true, boolean $partial = false ) : string
getDefault ( $name ) : mixed
getDefaults ( ) : array
getDirectRouteDocumentTypes ( ) : array
getInstance ( Zend_Config $config ) : Frontend
getVersion ( ) : integer
match ( $path, boolean $partial = false ) : array | boolean

Protected Methods

Method Description
checkForRedirect ( $matchRequestUri, boolean $override = false )
getNearestDocumentByPath ( $path, boolean $ignoreHardlinks = false, array $types = [] ) : Document | PageSnippet | null | string

Method Details

addDirectRouteDocumentType() public static method

public static addDirectRouteDocumentType ( $type )
$type

assemble() public method

public assemble ( array $data = [], boolean $reset = false, boolean $encode = true, boolean $partial = false ) : string
$data array
$reset boolean
$encode boolean
$partial boolean
return string

checkForRedirect() protected method

protected checkForRedirect ( $matchRequestUri, boolean $override = false )
$matchRequestUri
$override boolean

getDefault() public method

public getDefault ( $name ) : mixed
$name
return mixed

getDefaults() public method

public getDefaults ( ) : array
return array

getDirectRouteDocumentTypes() public static method

public static getDirectRouteDocumentTypes ( ) : array
return array

getInstance() public static method

public static getInstance ( Zend_Config $config ) : Frontend
$config Zend_Config
return Frontend

getNearestDocumentByPath() protected method

protected getNearestDocumentByPath ( $path, boolean $ignoreHardlinks = false, array $types = [] ) : Document | PageSnippet | null | string
$path
$ignoreHardlinks boolean
$types array
return Pimcore\Model\Document | Pimcore\Model\Document\PageSnippet | null | string

getVersion() public method

public getVersion ( ) : integer
return integer

match() public method

public match ( $path, boolean $partial = false ) : array | boolean
$path
$partial boolean
return array | boolean

Property Details

$_defaults public property

public array $_defaults
return array

$directRouteTypes public static property

public static array $directRouteTypes
return array

$nearestDocumentByPath protected property

protected array $nearestDocumentByPath
return array

$redirects protected property

protected array $redirects
return array