PHP Class Newscoop\Entity\Feedback

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

Méthodes publiques

Свойство Type Description
$attachment_type_enum to code mapper for attachment_type
$status_enum to code mapper for status

Protected Properties

Свойство 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

Méthodes publiques

Méthode 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 méthode

Get article
public getArticle ( ) : Newscoop\Entity\Article
Résultat Newscoop\Entity\Article

getAttachmentId() public méthode

Get attachment_id
public getAttachmentId ( ) : integer
Résultat integer

getAttachmentType() public méthode

Get attachment_type
public getAttachmentType ( ) : string
Résultat string

getId() public méthode

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

getMessage() public méthode

Get message.
public getMessage ( ) : string
Résultat string

getPublication() public méthode

Get publication
public getPublication ( ) : Newscoop\Entity\Publication
Résultat Newscoop\Entity\Publication

getSection() public méthode

Get section
public getSection ( ) : Newscoop\Entity\Section
Résultat Newscoop\Entity\Section

getStatus() public méthode

Get status
public getStatus ( ) : string
Résultat string

getSubject() public méthode

Get subject.
public getSubject ( ) : string
Résultat string

getTimeCreated() public méthode

Get creation time.
public getTimeCreated ( ) : DateTime
Résultat DateTime

getTimeUpdated() public méthode

Get update time.
public getTimeUpdated ( ) : DateTime
Résultat DateTime

getUrl() public méthode

Get comment url.
public getUrl ( ) : string
Résultat string

getUser() public méthode

Get user
public getUser ( ) : User
Résultat User

setArticle() public méthode

Set article
public setArticle ( Article $p_article ) : Newscoop\Entity\Feedback
$p_article Article
Résultat Newscoop\Entity\Feedback

setAttachmentId() public méthode

Set attachment_id
public setAttachmentId ( $attachment_id ) : Newscoop\Entity\Feedback
Résultat Newscoop\Entity\Feedback

setAttachmentType() public méthode

Set attachment type
public setAttachmentType ( $attachment_type ) : Newscoop\Entity\Feedback
Résultat Newscoop\Entity\Feedback

setId() public méthode

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

setMessage() public méthode

Set message.
public setMessage ( string $p_message ) : Newscoop\Entity\Feedback
$p_message string
Résultat Newscoop\Entity\Feedback

setPublication() public méthode

Set publication
public setPublication ( Publication $p_publication ) : Newscoop\Entity\Feedback
$p_publication Publication
Résultat Newscoop\Entity\Feedback

setSection() public méthode

Set section
public setSection ( Section $p_section ) : Newscoop\Entity\Feedback
$p_section Section
Résultat Newscoop\Entity\Feedback

setStatus() public méthode

Set status
public setStatus ( $status ) : Newscoop\Entity\Feedback
Résultat Newscoop\Entity\Feedback

setSubject() public méthode

Set subject.
public setSubject ( string $p_subject ) : Newscoop\Entity\Feedback
$p_subject string
Résultat Newscoop\Entity\Feedback

setTimeCreated() public méthode

Set time created
public setTimeCreated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback
$p_datetime DateTime
Résultat Newscoop\Entity\Feedback

setTimeUpdated() public méthode

Set time updated
public setTimeUpdated ( DateTime $p_datetime ) : Newscoop\Entity\Feedback
$p_datetime DateTime
Résultat Newscoop\Entity\Feedback

setUrl() public méthode

Set url.
public setUrl ( string $p_url ) : Newscoop\Entity\Feedback
$p_url string
Résultat Newscoop\Entity\Feedback

setUser() public méthode

Set user
public setUser ( User $p_user ) : Newscoop\Entity\Feedback
$p_user User
Résultat Newscoop\Entity\Feedback

Property Details

$article protected_oe property

protected Newscoop\Entity\Article $article
Résultat Newscoop\Entity\Article

$attachment_id protected_oe property

protected int $attachment_id
Résultat integer

$attachment_type protected_oe property

protected int $attachment_type
Résultat 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
Résultat integer

$message protected_oe property

protected text $message
Résultat text

$publication protected_oe property

protected Newscoop\Entity\Publication $publication
Résultat Newscoop\Entity\Publication

$section protected_oe property

protected Newscoop\Entity\Section $section
Résultat Newscoop\Entity\Section

$status protected_oe property

protected int $status
Résultat integer

$status_enum static_oe public_oe property

to code mapper for status
static public $status_enum

$subject protected_oe property

protected string $subject
Résultat string

$time_created protected_oe property

protected DateTime $time_created
Résultat DateTime

$time_updated protected_oe property

*
protected $time_updated

$url protected_oe property

protected string $url
Résultat string

$user protected_oe property

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