PHP Class Newscoop\ArticlesBundle\Entity\EditorialComment

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

Protected Properties

Свойство Type Description
$article
$articleNumber integer
$comment text
$created datetime
$id integer
$is_active boolean
$languageId integer
$parent Newscoop\ArticlesBundle\Entity\EditorialComment
$parentId integer
$resolved boolean
$user Newscoop\Entity\User

Méthodes publiques

Méthode Description
__construct ( )
getArticle ( ) : mixed Gets the }).
getArticleNumber ( ) : integer Gets the value of articleNumber.
getComment ( ) : text Gets the value of comment.
getCreated ( ) : datetime Gets the value of created.
getId ( ) : integer Gets the value of id.
getIsActive ( ) : boolean Gets the value of is_active.
getLanguageId ( ) : integer Gets the value of languageId.
getParent ( ) : Newscoop\ArticlesBundle\Entity\EditorialComment Gets the value of parent.
getParentId ( ) : integer Gets the value of parentId.
getResolved ( ) : boolean Gets the value of resolved.
getUser ( ) : User Gets the value of user.
setArticle ( mixed $article ) : self Sets the }).
setArticleNumber ( integer $articleNumber ) : self Sets the value of articleNumber.
setComment ( text $comment ) : self Sets the value of comment.
setCreated ( DateTime $created ) : self Sets the value of created.
setId ( integer $id ) : self Sets the value of id.
setIsActive ( boolean $is_active ) : self Sets the value of is_active.
setLanguageId ( integer $languageId ) : self Sets the value of languageId.
setParent ( EditorialComment $parent ) : self Sets the value of parent.
setResolved ( boolean $resolved ) : self Sets the value of resolved.
setUser ( User $user ) : self Sets the value of user.

Méthodes protégées

Méthode Description
setParentId ( integer $parentId ) : self Sets the value of parentId.

Method Details

__construct() public méthode

public __construct ( )

getArticle() public méthode

Gets the }).
public getArticle ( ) : mixed
Résultat mixed

getArticleNumber() public méthode

Gets the value of articleNumber.
public getArticleNumber ( ) : integer
Résultat integer

getComment() public méthode

Gets the value of comment.
public getComment ( ) : text
Résultat text

getCreated() public méthode

Gets the value of created.
public getCreated ( ) : datetime
Résultat datetime

getId() public méthode

Gets the value of id.
public getId ( ) : integer
Résultat integer

getIsActive() public méthode

Gets the value of is_active.
public getIsActive ( ) : boolean
Résultat boolean

getLanguageId() public méthode

Gets the value of languageId.
public getLanguageId ( ) : integer
Résultat integer

getParent() public méthode

Gets the value of parent.
public getParent ( ) : Newscoop\ArticlesBundle\Entity\EditorialComment
Résultat Newscoop\ArticlesBundle\Entity\EditorialComment

getParentId() public méthode

Gets the value of parentId.
public getParentId ( ) : integer
Résultat integer

getResolved() public méthode

Gets the value of resolved.
public getResolved ( ) : boolean
Résultat boolean

getUser() public méthode

Gets the value of user.
public getUser ( ) : User
Résultat Newscoop\Entity\User

setArticle() public méthode

Sets the }).
public setArticle ( mixed $article ) : self
$article mixed the article
Résultat self

setArticleNumber() public méthode

Sets the value of articleNumber.
public setArticleNumber ( integer $articleNumber ) : self
$articleNumber integer the article number
Résultat self

setComment() public méthode

Sets the value of comment.
public setComment ( text $comment ) : self
$comment text the comment
Résultat self

setCreated() public méthode

Sets the value of created.
public setCreated ( DateTime $created ) : self
$created DateTime the created
Résultat self

setId() public méthode

Sets the value of id.
public setId ( integer $id ) : self
$id integer the id
Résultat self

setIsActive() public méthode

Sets the value of is_active.
public setIsActive ( boolean $is_active ) : self
$is_active boolean the is active
Résultat self

setLanguageId() public méthode

Sets the value of languageId.
public setLanguageId ( integer $languageId ) : self
$languageId integer the language id
Résultat self

setParent() public méthode

Sets the value of parent.
public setParent ( EditorialComment $parent ) : self
$parent EditorialComment the parent
Résultat self

setParentId() protected méthode

Sets the value of parentId.
protected setParentId ( integer $parentId ) : self
$parentId integer the parent id
Résultat self

setResolved() public méthode

Sets the value of resolved.
public setResolved ( boolean $resolved ) : self
$resolved boolean the resolved
Résultat self

setUser() public méthode

Sets the value of user.
public setUser ( User $user ) : self
$user Newscoop\Entity\User the user
Résultat self

Property Details

$article protected_oe property

protected $article

$articleNumber protected_oe property

protected int $articleNumber
Résultat integer

$comment protected_oe property

protected text $comment
Résultat text

$created protected_oe property

protected datetime $created
Résultat datetime

$id protected_oe property

protected int $id
Résultat integer

$is_active protected_oe property

protected bool $is_active
Résultat boolean

$languageId protected_oe property

protected int $languageId
Résultat integer

$parent protected_oe property

protected Newscoop\ArticlesBundle\Entity\EditorialComment $parent
Résultat Newscoop\ArticlesBundle\Entity\EditorialComment

$parentId protected_oe property

protected int $parentId
Résultat integer

$resolved protected_oe property

protected bool $resolved
Résultat boolean

$user protected_oe property

protected User,Newscoop\Entity $user
Résultat Newscoop\Entity\User