PHP Class MetaTemplate

Inheritance: extends MetaDbObject
ファイルを表示 Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$_map

Public Methods

Method Description
GetTypeName ( )
__construct ( $p_templateIdOrName = null, $p_themePath = null )

Protected Methods

Method Description
getByTemplateIdOrName ( integer $tplId ) Try to get it from the template id (templates table)
getId ( )
getTemplateType ( )
getThemeDir ( ) we need this theme info for securing the smarty caching
getValue ( )

Method Details

GetTypeName() public static method

public static GetTypeName ( )

__construct() public method

public __construct ( $p_templateIdOrName = null, $p_themePath = null )

getByTemplateIdOrName() protected method

Try to get it from the template id (templates table)
Author: Mihai Balaceanu
protected getByTemplateIdOrName ( integer $tplId )
$tplId integer

getId() protected method

protected getId ( )

getTemplateType() protected method

protected getTemplateType ( )

getThemeDir() protected method

we need this theme info for securing the smarty caching
protected getThemeDir ( )

getValue() protected method

protected getValue ( )

Property Details

$_map protected_oe property

protected $_map