PHP Class Newscoop\Entity\Comment\Preference\Article

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

Protected Properties

Свойство Type Description
$enabled integer
$id integer
$language Newscoop\Entity\Language
$locked integer

Méthodes publiques

Méthode Description
getEnabled ( ) : boolean Get the flag if the comments are enabled or not
getId ( ) : integer Get article id
getLanguage ( ) : Language Get language
getLocked ( ) : boolean Get the flag if the comments are enabled or not
setEnabled ( boolean $p_enabled ) : Article Set the flag if the comments are enabled or not
setId ( integer $p_id ) : Article Set article id
setLanguage ( Language $p_language ) : Newscoop\Entity\Article Set language
setLocked ( $p_locked ) : Article Set the flag if the comments are enabled or not

Method Details

getEnabled() public méthode

Get the flag if the comments are enabled or not
public getEnabled ( ) : boolean
Résultat boolean

getId() public méthode

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

getLanguage() public méthode

Get language
public getLanguage ( ) : Language
Résultat Newscoop\Entity\Language

getLocked() public méthode

Get the flag if the comments are enabled or not
public getLocked ( ) : boolean
Résultat boolean

setEnabled() public méthode

Set the flag if the comments are enabled or not
public setEnabled ( boolean $p_enabled ) : Article
$p_enabled boolean
Résultat Article

setId() public méthode

Set article id
public setId ( integer $p_id ) : Article
$p_id integer
Résultat Article

setLanguage() public méthode

Set language
public setLanguage ( Language $p_language ) : Newscoop\Entity\Article
$p_language Newscoop\Entity\Language
Résultat Newscoop\Entity\Article

setLocked() public méthode

Set the flag if the comments are enabled or not
public setLocked ( $p_locked ) : Article
Résultat Article

Property Details

$enabled protected_oe property

protected int $enabled
Résultat integer

$id protected_oe property

protected int $id
Résultat integer

$language protected_oe property

protected Language,Newscoop\Entity $language
Résultat Newscoop\Entity\Language

$locked protected_oe property

protected int $locked
Résultat integer