PHP Class Newscoop\Entity\Template

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

Protected Properties

Свойство Type Description
$cache_lifetime integer
$id integer
$key string

Méthodes publiques

Méthode Description
__construct ( string $key )
exists ( ) : boolean Check if the template exists
getCacheLifetime ( ) : integer Get cache lifetime
getId ( ) : integer Get id
getKey ( ) : string Get key
setCacheLifetime ( integer $lifetime ) : Newscoop\Entity\Template Set cache lifetime
setKey ( string $key ) : Newscoop\Entity\Template Set key

Method Details

__construct() public méthode

public __construct ( string $key )
$key string

exists() public méthode

Check if the template exists
public exists ( ) : boolean
Résultat boolean True always for now

getCacheLifetime() public méthode

Get cache lifetime
public getCacheLifetime ( ) : integer
Résultat integer

getId() public méthode

Get id
public getId ( ) : integer
Résultat integer

getKey() public méthode

Get key
public getKey ( ) : string
Résultat string

setCacheLifetime() public méthode

Set cache lifetime
public setCacheLifetime ( integer $lifetime ) : Newscoop\Entity\Template
$lifetime integer
Résultat Newscoop\Entity\Template

setKey() public méthode

Set key
public setKey ( string $key ) : Newscoop\Entity\Template
$key string
Résultat Newscoop\Entity\Template

Property Details

$cache_lifetime protected_oe property

protected int $cache_lifetime
Résultat integer

$id protected_oe property

protected int $id
Résultat integer

$key protected_oe property

protected string $key
Résultat string