PHP Class Newscoop\ArticlesBundle\Entity\EditorialComment

Show file Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property 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

Public Methods

Method 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.

Protected Methods

Method Description
setParentId ( integer $parentId ) : self Sets the value of parentId.

Method Details

__construct() public method

public __construct ( )

getArticle() public method

Gets the }).
public getArticle ( ) : mixed
return mixed

getArticleNumber() public method

Gets the value of articleNumber.
public getArticleNumber ( ) : integer
return integer

getComment() public method

Gets the value of comment.
public getComment ( ) : text
return text

getCreated() public method

Gets the value of created.
public getCreated ( ) : datetime
return datetime

getId() public method

Gets the value of id.
public getId ( ) : integer
return integer

getIsActive() public method

Gets the value of is_active.
public getIsActive ( ) : boolean
return boolean

getLanguageId() public method

Gets the value of languageId.
public getLanguageId ( ) : integer
return integer

getParent() public method

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

getParentId() public method

Gets the value of parentId.
public getParentId ( ) : integer
return integer

getResolved() public method

Gets the value of resolved.
public getResolved ( ) : boolean
return boolean

getUser() public method

Gets the value of user.
public getUser ( ) : User
return Newscoop\Entity\User

setArticle() public method

Sets the }).
public setArticle ( mixed $article ) : self
$article mixed the article
return self

setArticleNumber() public method

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

setComment() public method

Sets the value of comment.
public setComment ( text $comment ) : self
$comment text the comment
return self

setCreated() public method

Sets the value of created.
public setCreated ( DateTime $created ) : self
$created DateTime the created
return self

setId() public method

Sets the value of id.
public setId ( integer $id ) : self
$id integer the id
return self

setIsActive() public method

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

setLanguageId() public method

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

setParent() public method

Sets the value of parent.
public setParent ( EditorialComment $parent ) : self
$parent EditorialComment the parent
return self

setParentId() protected method

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

setResolved() public method

Sets the value of resolved.
public setResolved ( boolean $resolved ) : self
$resolved boolean the resolved
return self

setUser() public method

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

Property Details

$article protected property

protected $article

$articleNumber protected property

protected int $articleNumber
return integer

$comment protected property

protected text $comment
return text

$created protected property

protected datetime $created
return datetime

$id protected property

protected int $id
return integer

$is_active protected property

protected bool $is_active
return boolean

$languageId protected property

protected int $languageId
return integer

$parent protected property

protected Newscoop\ArticlesBundle\Entity\EditorialComment $parent
return Newscoop\ArticlesBundle\Entity\EditorialComment

$parentId protected property

protected int $parentId
return integer

$resolved protected property

protected bool $resolved
return boolean

$user protected property

protected User,Newscoop\Entity $user
return Newscoop\Entity\User