PHP Класс Networking\InitCmsBundle\Component\Routing\Route

Class CMSRoute
Автор: Yorkie Chadwick ([email protected])
Наследование: extends Symfony\Component\Routing\Route, implements Symfony\Cmf\Component\Routing\RouteObjectInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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