PHP 클래스 Pimcore\Model\Staticroute

상속: extends AbstractModel
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_values array Associative array filled on match() that holds matched path values for given variable names.
$action string
$controller string
$creationDate integer
$defaults string
$id integer
$modificationDate integer
$module string
$name string
$pattern string
$priority integer
$reverse string
$siteId integer
$variables string

보호된 프로퍼티들

프로퍼티 타입 설명
$_currentRoute Staticroute contains the static route which the current request matches (it he does), this is used in the view to get the current route
$nameIdMappingCache array this is a small per request cache to know which route is which is, this info is used in self::getByName()

공개 메소드들

메소드 설명
assemble ( array $urlOptions = [], boolean $reset = false, boolean $encode = true ) : mixed | string
create ( ) : Staticroute
getAction ( ) : string
getById ( integer $id ) : Staticroute
getByName ( string $name, $siteId = null ) : Staticroute
getController ( ) : string
getCreationDate ( ) : integer
getCurrentRoute ( ) : Staticroute
getDefaults ( ) : string
getDefaultsArray ( ) : array Get the defaults defined in a string as array
getId ( ) : integer
getModificationDate ( ) : integer
getModule ( ) : string
getName ( ) : string
getPattern ( ) : string
getPriority ( ) : integer
getReverse ( ) : string
getSiteId ( ) : integer
getVariables ( ) : string
match ( string $path, array $params = [] ) : array | boolean
setAction ( string $action ) : void
setController ( string $controller ) : void
setCreationDate ( $creationDate )
setCurrentRoute ( $route ) : void
setDefaults ( string $defaults ) : void
setId ( integer $id )
setModificationDate ( $modificationDate )
setModule ( string $module )
setName ( string $name ) : void
setPattern ( string $pattern )
setPriority ( integer $priority ) : void
setReverse ( string $reverse ) : void
setSiteId ( integer $siteId )
setVariables ( string $variables ) : void

메소드 상세

assemble() 공개 메소드

public assemble ( array $urlOptions = [], boolean $reset = false, boolean $encode = true ) : mixed | string
$urlOptions array
$reset boolean
$encode boolean
리턴 mixed | string

create() 공개 정적인 메소드

public static create ( ) : Staticroute
리턴 Staticroute

getAction() 공개 메소드

public getAction ( ) : string
리턴 string

getById() 공개 정적인 메소드

public static getById ( integer $id ) : Staticroute
$id integer
리턴 Staticroute

getByName() 공개 정적인 메소드

public static getByName ( string $name, $siteId = null ) : Staticroute
$name string
리턴 Staticroute

getController() 공개 메소드

public getController ( ) : string
리턴 string

getCreationDate() 공개 메소드

public getCreationDate ( ) : integer
리턴 integer

getCurrentRoute() 공개 정적인 메소드

public static getCurrentRoute ( ) : Staticroute
리턴 Staticroute

getDefaults() 공개 메소드

public getDefaults ( ) : string
리턴 string

getDefaultsArray() 공개 메소드

Get the defaults defined in a string as array
public getDefaultsArray ( ) : array
리턴 array

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getModificationDate() 공개 메소드

public getModificationDate ( ) : integer
리턴 integer

getModule() 공개 메소드

public getModule ( ) : string
리턴 string

getName() 공개 메소드

public getName ( ) : string
리턴 string

getPattern() 공개 메소드

public getPattern ( ) : string
리턴 string

getPriority() 공개 메소드

public getPriority ( ) : integer
리턴 integer

getReverse() 공개 메소드

public getReverse ( ) : string
리턴 string

getSiteId() 공개 메소드

public getSiteId ( ) : integer
리턴 integer

getVariables() 공개 메소드

public getVariables ( ) : string
리턴 string

match() 공개 메소드

public match ( string $path, array $params = [] ) : array | boolean
$path string
$params array
리턴 array | boolean

setAction() 공개 메소드

public setAction ( string $action ) : void
$action string
리턴 void

setController() 공개 메소드

public setController ( string $controller ) : void
$controller string
리턴 void

setCreationDate() 공개 메소드

public setCreationDate ( $creationDate )
$creationDate

setCurrentRoute() 공개 정적인 메소드

public static setCurrentRoute ( $route ) : void
$route
리턴 void

setDefaults() 공개 메소드

public setDefaults ( string $defaults ) : void
$defaults string
리턴 void

setId() 공개 메소드

public setId ( integer $id )
$id integer

setModificationDate() 공개 메소드

public setModificationDate ( $modificationDate )
$modificationDate

setModule() 공개 메소드

public setModule ( string $module )
$module string

setName() 공개 메소드

public setName ( string $name ) : void
$name string
리턴 void

setPattern() 공개 메소드

public setPattern ( string $pattern )
$pattern string

setPriority() 공개 메소드

public setPriority ( integer $priority ) : void
$priority integer
리턴 void

setReverse() 공개 메소드

public setReverse ( string $reverse ) : void
$reverse string
리턴 void

setSiteId() 공개 메소드

public setSiteId ( integer $siteId )
$siteId integer

setVariables() 공개 메소드

public setVariables ( string $variables ) : void
$variables string
리턴 void

프로퍼티 상세

$_currentRoute 보호되어 있는 정적으로 프로퍼티

contains the static route which the current request matches (it he does), this is used in the view to get the current route
protected static Staticroute,Pimcore\Model $_currentRoute
리턴 Staticroute

$_values 공개적으로 프로퍼티

Associative array filled on match() that holds matched path values for given variable names.
public array $_values
리턴 array

$action 공개적으로 프로퍼티

public string $action
리턴 string

$controller 공개적으로 프로퍼티

public string $controller
리턴 string

$creationDate 공개적으로 프로퍼티

public int $creationDate
리턴 integer

$defaults 공개적으로 프로퍼티

public string $defaults
리턴 string

$id 공개적으로 프로퍼티

public int $id
리턴 integer

$modificationDate 공개적으로 프로퍼티

public int $modificationDate
리턴 integer

$module 공개적으로 프로퍼티

public string $module
리턴 string

$name 공개적으로 프로퍼티

public string $name
리턴 string

$nameIdMappingCache 보호되어 있는 정적으로 프로퍼티

this is a small per request cache to know which route is which is, this info is used in self::getByName()
protected static array $nameIdMappingCache
리턴 array

$pattern 공개적으로 프로퍼티

public string $pattern
리턴 string

$priority 공개적으로 프로퍼티

public int $priority
리턴 integer

$reverse 공개적으로 프로퍼티

public string $reverse
리턴 string

$siteId 공개적으로 프로퍼티

public int $siteId
리턴 integer

$variables 공개적으로 프로퍼티

public string $variables
리턴 string