PHP 클래스 Networking\InitCmsBundle\Component\Routing\Route

Class CMSRoute
저자: Yorkie Chadwick ([email protected])
상속: extends Symfony\Component\Routing\Route, implements Symfony\Cmf\Component\Routing\RouteObjectInterface
파일 보기 프로젝트 열기: networking/init-cms-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$content

공개 메소드들

메소드 설명
__construct ( $pattern, array $defaults = [] )
addDefaults ( array $defaults ) : Route Adds defaults.
getContent ( ) : object Get the content document this route entry stands for. If non-null, the ControllerClassMapper uses it to identify a controller and the content is passed to the controller.
getDefaults ( ) : array
getLocale ( ) : mixed
getOption ( $name ) {@inheritDoc}
getOptions ( ) {@inheritDoc}
getRouteKey ( ) : mixed
setDefaults ( array $defaults ) : Route Sets the defaults.

메소드 상세

__construct() 공개 메소드

public __construct ( $pattern, array $defaults = [] )
$pattern
$defaults array

addDefaults() 공개 메소드

This method implements a fluent interface.
public addDefaults ( array $defaults ) : Route
$defaults array The defaults
리턴 Route The current Route instance

getContent() 공개 메소드

If there is no specific content for this url (i.e. its an "application" page), may return null.
public getContent ( ) : object
리턴 object the document or entity this route entry points to

getDefaults() 공개 메소드

public getDefaults ( ) : array
리턴 array

getLocale() 공개 메소드

public getLocale ( ) : mixed
리턴 mixed

getOption() 공개 메소드

Handling the missing default 'compiler_class'
또한 보기: setOptions
public getOption ( $name )

getOptions() 공개 메소드

Handling the missing default 'compiler_class'
또한 보기: setOptions
public getOptions ( )

getRouteKey() 공개 메소드

public getRouteKey ( ) : mixed
리턴 mixed

setDefaults() 공개 메소드

This method implements a fluent interface.
public setDefaults ( array $defaults ) : Route
$defaults array The defaults
리턴 Route The current Route instance

프로퍼티 상세

$content 보호되어 있는 프로퍼티

protected $content