PHP 클래스 CampURITemplatePath

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

공개 메소드들

메소드 설명
__construct ( string $p_uri = null ) Class constructor
getFormParameters ( ) : array
getQueryArray ( array $p_keepParameters = [], array $p_removeParameters = [] ) fn __construct
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.

비공개 메소드들

메소드 설명
buildPath ( $p_template ) fn buildURI
getURIArticle ( ) : string Gets the article URI query path.
getURIIssue ( ) : string Gets the issue URI query path.
getURILanguage ( ) : string Gets the language URI query path.
getURIPublication ( ) : string Gets the publication URI query path.
getURISection ( ) : string Gets the section URI query path.
readTemplate ( ) : null | string Returns the template name from URI.
setURL ( ) : void Sets the URL values.

메소드 상세

__construct() 공개 메소드

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

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

getQueryArray() 공개 메소드

fn __construct
public getQueryArray ( array $p_keepParameters = [], array $p_removeParameters = [] )
$p_keepParameters array
$p_removeParameters array

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