PHP Class Newscoop\Entity\Feedback

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Public Properties

Property Type Description
$attachment_type_enum to code mapper for attachment_type
$status_enum to code mapper for status

Protected Properties

Property Type Description
$article Newscoop\Entity\Article
$attachment_id integer
$attachment_type integer
$id integer
$message text
$publication Newscoop\Entity\Publication
$section Newscoop\Entity\Section
$status integer
$subject string
$time_created DateTime
$time_updated *
$url string
$user User

Public Methods

Method Description
getArticle ( ) : Newscoop\Entity\Article Get article
getAttachmentId ( ) : integer Get attachment_id
getAttachmentType ( ) : string Get attachment_type
getId ( ) : integer Get id
getMessage ( ) : string Get message.
getPublication ( ) : Newscoop\Entity\Publication Get publication
getSection ( ) : Newscoop\Entity\Section Get section
getStatus ( ) : string Get status
getSubject ( ) : string Get subject.
getTimeCreated ( ) : DateTime Get creation time.
getTimeUpdated ( ) : DateTime Get update time.
getUrl ( ) : string Get comment url.
getUser ( ) : User Get user
setArticle ( Article $p_article ) : Newscoop\Entity\Feedback Set article
setAttachmentId ( $attachment_id ) : Newscoop\Entity\Feedback Set attachment_id
setAttachmentType ( $attachment_type ) : Newscoop\Entity\Feedback Set attachment type
setId ( integer $p_id ) : User Set id
setMessage ( string $p_message ) : Newscoop\Entity\Feedback Set message.
setPublication ( Publication $p_publication ) : Newscoop\Entity\Feedback Set publication
setSection ( Section $p_section ) : Newscoop\Entity\Feedback Set section
setStatus ( $status ) : Newscoop\Entity\Feedback Set status
setSubject ( string $p_subject ) : Newscoop\Entity\Feedback Set subject.
setTimeCreated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback Set time created
setTimeUpdated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback Set time updated
setUrl ( string $p_url ) : Newscoop\Entity\Feedback Set url.
setUser ( User $p_user ) : Newscoop\Entity\Feedback Set user

Method Details

getArticle() public method

Get article
public getArticle ( ) : Newscoop\Entity\Article
return Newscoop\Entity\Article

getAttachmentId() public method

Get attachment_id
public getAttachmentId ( ) : integer
return integer

getAttachmentType() public method

Get attachment_type
public getAttachmentType ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getMessage() public method

Get message.
public getMessage ( ) : string
return string

getPublication() public method

Get publication
public getPublication ( ) : Newscoop\Entity\Publication
return Newscoop\Entity\Publication

getSection() public method

Get section
public getSection ( ) : Newscoop\Entity\Section
return Newscoop\Entity\Section

getStatus() public method

Get status
public getStatus ( ) : string
return string

getSubject() public method

Get subject.
public getSubject ( ) : string
return string

getTimeCreated() public method

Get creation time.
public getTimeCreated ( ) : DateTime
return DateTime

getTimeUpdated() public method

Get update time.
public getTimeUpdated ( ) : DateTime
return DateTime

getUrl() public method

Get comment url.
public getUrl ( ) : string
return string

getUser() public method

Get user
public getUser ( ) : User
return User

setArticle() public method

Set article
public setArticle ( Article $p_article ) : Newscoop\Entity\Feedback
$p_article Article
return Newscoop\Entity\Feedback

setAttachmentId() public method

Set attachment_id
public setAttachmentId ( $attachment_id ) : Newscoop\Entity\Feedback
return Newscoop\Entity\Feedback

setAttachmentType() public method

Set attachment type
public setAttachmentType ( $attachment_type ) : Newscoop\Entity\Feedback
return Newscoop\Entity\Feedback

setId() public method

Set id
public setId ( integer $p_id ) : User
$p_id integer
return User

setMessage() public method

Set message.
public setMessage ( string $p_message ) : Newscoop\Entity\Feedback
$p_message string
return Newscoop\Entity\Feedback

setPublication() public method

Set publication
public setPublication ( Publication $p_publication ) : Newscoop\Entity\Feedback
$p_publication Publication
return Newscoop\Entity\Feedback

setSection() public method

Set section
public setSection ( Section $p_section ) : Newscoop\Entity\Feedback
$p_section Section
return Newscoop\Entity\Feedback

setStatus() public method

Set status
public setStatus ( $status ) : Newscoop\Entity\Feedback
return Newscoop\Entity\Feedback

setSubject() public method

Set subject.
public setSubject ( string $p_subject ) : Newscoop\Entity\Feedback
$p_subject string
return Newscoop\Entity\Feedback

setTimeCreated() public method

Set time created
public setTimeCreated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback
$p_datetime DateTime
return Newscoop\Entity\Feedback

setTimeUpdated() public method

Set time updated
public setTimeUpdated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback
$p_datetime DateTime
return Newscoop\Entity\Feedback

setUrl() public method

Set url.
public setUrl ( string $p_url ) : Newscoop\Entity\Feedback
$p_url string
return Newscoop\Entity\Feedback

setUser() public method

Set user
public setUser ( User $p_user ) : Newscoop\Entity\Feedback
$p_user User
return Newscoop\Entity\Feedback

Property Details

$article protected_oe property

protected Newscoop\Entity\Article $article
return Newscoop\Entity\Article

$attachment_id protected_oe property

protected int $attachment_id
return integer

$attachment_type protected_oe property

protected int $attachment_type
return integer

$attachment_type_enum static_oe public_oe property

to code mapper for attachment_type
static public $attachment_type_enum

$id protected_oe property

protected int $id
return integer

$message protected_oe property

protected text $message
return text

$publication protected_oe property

protected Newscoop\Entity\Publication $publication
return Newscoop\Entity\Publication

$section protected_oe property

protected Newscoop\Entity\Section $section
return Newscoop\Entity\Section

$status protected_oe property

protected int $status
return integer

$status_enum static_oe public_oe property

to code mapper for status
static public $status_enum

$subject protected_oe property

protected string $subject
return string

$time_created protected_oe property

protected DateTime $time_created
return DateTime

$time_updated protected_oe property

*
protected $time_updated

$url protected_oe property

protected string $url
return string

$user protected_oe property

protected User,Newscoop\Entity $user
return User