PHP Class CampSite

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

Méthodes publiques

Méthode Description
GetConfigInstance ( ) : object Returns a CampConfig instance.
GetHTMLDocumentInstance ( ) : object Returns a CampHTMLDocument instance.
GetSessionInstance ( ) : object Returns a CampSession instance.
GetURIInstance ( ) : CampURI Returns the appropiate URI instance.
__construct ( ) Class constructor
dispatch ( ) : void Dispatches the site.
event ( string $p_eventName )
init ( ) : void Initialises the context.
initSession ( ) Initialises the session.
loadConfiguration ( string $p_configFile = null ) Loads the configuration options.
render ( ) : void Displays the site.

Method Details

GetConfigInstance() public static méthode

Returns a CampConfig instance.
public static GetConfigInstance ( ) : object
Résultat object A CampConfig instance

GetHTMLDocumentInstance() public static méthode

Returns a CampHTMLDocument instance.
public static GetHTMLDocumentInstance ( ) : object
Résultat object The CampHTMLDocument instance.

GetSessionInstance() public static méthode

Returns a CampSession instance.
public static GetSessionInstance ( ) : object
Résultat object A CampSession instance

GetURIInstance() public static méthode

Returns the appropiate URI instance.
public static GetURIInstance ( ) : CampURI
Résultat CampURI

__construct() final public méthode

Class constructor
final public __construct ( )

dispatch() public méthode

Sets attribute values from site configuration to the document to be displayed.
public dispatch ( ) : void
Résultat void

event() public méthode

public event ( string $p_eventName )
$p_eventName string

init() public méthode

After load the session, the application parse the current URI and starts the context from the request parameters.
public init ( ) : void
Résultat void

initSession() public méthode

Initialises the session.
public initSession ( )

loadConfiguration() public méthode

Loads the configuration options.
public loadConfiguration ( string $p_configFile = null )
$p_configFile string The path to the config file

render() public méthode

Displays the site.
public render ( ) : void
Résultat void