PHP 클래스 CampURIShortNames

상속: extends CampURI
파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$_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