PHP Класс CampURIShortNames

Наследование: extends CampURI
Показать файл Открыть проект

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

Свойство Тип Описание
$_themePath The theme path storage

Открытые методы

Метод Описание
__construct ( string $p_uri = null ) Class constructor
getFormParameters ( ) : array
isRestrictedParameter ( string $p_parameterName ) : boolean Returns true if the given parameter is restricted and can not be set from outside the URL object.

Защищенные методы

Метод Описание
buildURI ( array &$p_params = [], boolean $p_preview = false ) : void Sets the URI path and query values based on given parameters.

Приватные методы

Метод Описание
_getArticle ( integer $articleNo, MetaLanguage $language ) : MetaArticle Get article
_getIssue ( string $name, MetaLanguage $language, MetaPublication $publication ) : MetaIssue Get issue
_getLanguage ( string $code, MetaPublication $publication ) : MetaLanguage Get language by code
_getPublication ( ) : MetaPublication Get publication by site name
_getSection ( string $name, MetaIssue $issue, MetaLanguage $language, MetaPublication $publication ) : MetaSection Get section
_getTemplate ( ) : MetaTemplate Get template
getURIArticle ( ) : string Gets the article URI path.
getURIIssue ( ) : string Gets the issue URI path.
getURILanguage ( ) : string Gets the language URI path.
getURISection ( ) : string Gets the section URI path.
setURL ( Zend_Controller_Request_Abstract $request ) : void | PEAR_Error Sets the URL values
setURLFromSymfony ( Symfony\Component\HttpFoundation\Request $request ) Sets the URL values

Описание методов

__construct() публичный Метод

Class constructor
public __construct ( string $p_uri = null )
$p_uri string The full URI string

buildURI() защищенный Метод

Sets the URI path and query values based on given parameters.
protected buildURI ( array &$p_params = [], boolean $p_preview = false ) : void
$p_params array An array of valid URL parameters
$p_preview boolean If true, will keep the preview parameters in the URL
Результат void

getFormParameters() публичный Метод

public getFormParameters ( ) : array
Результат array An array containing all the form parameters to print out

isRestrictedParameter() публичный Метод

Returns true if the given parameter is restricted and can not be set from outside the URL object.
public isRestrictedParameter ( string $p_parameterName ) : boolean
$p_parameterName string
Результат boolean

Описание свойств

$_themePath защищенное свойство

The theme path storage
protected $_themePath