PHP Class CampSystem

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
GetArticleTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr ) fn GetSectionTemplate
GetInvalidURLTemplate ( $p_pubId, $p_issNr = NULL, $p_lngId = NULL, $p_isPublished = true ) fn setArticle
GetIssueTemplate ( $p_lngId, $p_pubId, $p_issNr )
GetLastIssue ( Publication $publication, $p_langId = null, $p_isPublished = true ) fn GetTemplate
GetSectionTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr ) fn GetIssueTemplate
GetTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr, $p_artNr, $p_isPublished = true )

Protected Methods

Method Description
dispatch ( )
getSetting ( string $p_varName ) : mixed Reads a configuration setting.
render ( )
setArticle ( integer $p_lngId, integer $p_artNr ) : void Sets the context article object.
setIssue ( integer $p_pubId, integer $p_lngId, integer $p_issNr ) : void Sets the context issue object.
setLanguage ( integer $p_lngId ) : void Sets the context language object.
setPublication ( integer $p_pubId ) : void Sets the context publication object.
setSection ( integer $p_pubId, integer $p_issNr, integer $p_lngId, integer $p_sctNr ) : void Sets the context section object.

Method Details

GetArticleTemplate() public static method

fn GetSectionTemplate
public static GetArticleTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr )

GetInvalidURLTemplate() public static method

fn setArticle
public static GetInvalidURLTemplate ( $p_pubId, $p_issNr = NULL, $p_lngId = NULL, $p_isPublished = true )

GetIssueTemplate() public static method

public static GetIssueTemplate ( $p_lngId, $p_pubId, $p_issNr )

GetLastIssue() public static method

fn GetTemplate
public static GetLastIssue ( Publication $publication, $p_langId = null, $p_isPublished = true )
$publication Publication

GetSectionTemplate() public static method

fn GetIssueTemplate
public static GetSectionTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr )

GetTemplate() public static method

public static GetTemplate ( $p_lngId, $p_pubId, $p_issNr, $p_sctNr, $p_artNr, $p_isPublished = true )

dispatch() abstract protected method

abstract protected dispatch ( )

getSetting() protected method

Reads a configuration setting.
protected getSetting ( string $p_varName ) : mixed
$p_varName string
return mixed The value of the configuration variable

render() abstract protected method

abstract protected render ( )

setArticle() protected method

Sets the context article object.
protected setArticle ( integer $p_lngId, integer $p_artNr ) : void
$p_lngId integer The language identifier
$p_artNr integer The article number
return void

setIssue() protected method

Sets the context issue object.
protected setIssue ( integer $p_pubId, integer $p_lngId, integer $p_issNr ) : void
$p_pubId integer The publication identifier
$p_lngId integer The language identifier
$p_issNr integer The issue number
return void

setLanguage() protected method

Sets the context language object.
protected setLanguage ( integer $p_lngId ) : void
$p_lngId integer The language identifier
return void

setPublication() protected method

Sets the context publication object.
protected setPublication ( integer $p_pubId ) : void
$p_pubId integer The publication identifier
return void

setSection() protected method

Sets the context section object.
protected setSection ( integer $p_pubId, integer $p_issNr, integer $p_lngId, integer $p_sctNr ) : void
$p_pubId integer The publication identifier
$p_issNr integer The issue number
$p_lngId integer The language identifier
$p_sctNr integer The section number
return void