PHP Class CampSystem

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode 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 méthode

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

GetInvalidURLTemplate() public static méthode

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

GetIssueTemplate() public static méthode

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

GetLastIssue() public static méthode

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

GetSectionTemplate() public static méthode

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

GetTemplate() public static méthode

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

dispatch() abstract protected méthode

abstract protected dispatch ( )

getSetting() protected méthode

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

render() abstract protected méthode

abstract protected render ( )

setArticle() protected méthode

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
Résultat void

setIssue() protected méthode

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
Résultat void

setLanguage() protected méthode

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

setPublication() protected méthode

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

setSection() protected méthode

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
Résultat void