PHP Class CampTemplate

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

Méthodes publiques

Свойство Type Description
$campsiteVector array
$templateCacheHandler
$useprotocol

Méthodes publiques

Méthode Description
__construct ( )
context ( ) : CampContext Returns the template context object.
contextInitialized ( ) : boolean Test if context is initialized.
getPluginsPluginsDir ( ) : array Get plugins plugins dir.
refreshContext ( )
singleton ( ) : CampTemplate Singleton function that returns the global class object.
trigger_error ( string $p_message, object $p_smarty = null ) Inserts an error message into the errors list.

Private Methods

Méthode Description
getTemplateTranslationsFiles ( ) Get translations files for theme.

Method Details

__construct() public méthode

public __construct ( )

context() public méthode

Returns the template context object.
public context ( ) : CampContext
Résultat CampContext object

contextInitialized() public méthode

Test if context is initialized.
public contextInitialized ( ) : boolean
Résultat boolean

getPluginsPluginsDir() public static méthode

Get plugins plugins dir.
public static getPluginsPluginsDir ( ) : array
Résultat array

refreshContext() public méthode

public refreshContext ( )

singleton() public static méthode

Singleton function that returns the global class object.
public static singleton ( ) : CampTemplate
Résultat CampTemplate object

trigger_error() public méthode

Inserts an error message into the errors list.
public trigger_error ( string $p_message, object $p_smarty = null )
$p_message string
$p_smarty object

Property Details

$campsiteVector public_oe property

public array $campsiteVector
Résultat array

$templateCacheHandler public_oe property

public $templateCacheHandler

$useprotocol public_oe property

public $useprotocol