PHP Class Ojs\JournalBundle\Entity\Citation

Inheritance: implements Gedmo\Translatable\Translatable, use trait Ojs\Common\Entity\GenericEntityTrait
Afficher le fichier Open project: ojs/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( )
addArticle ( Article $article ) : Citation Add article
getArticles ( ) : Doctrine\Common\Collections\Collection Get articles
getId ( ) : integer Get id
getOrderNum ( ) : integer Get orderNum
getRaw ( ) : string Get raw
getType ( ) : string Get type
removeArticle ( Article $article ) Remove articles
setCreated ( DateTime $created ) : Citation Set created
setOrderNum ( integer $orderNum ) : Citation Set orderNum
setRaw ( string $raw ) : Citation Set raw
setType ( string $type ) : Citation Set type
setUpdated ( DateTime $updated ) : Citation Set updated

Method Details

__construct() public méthode

public __construct ( )

addArticle() public méthode

Add article
public addArticle ( Article $article ) : Citation
$article Article
Résultat Citation

getArticles() public méthode

Get articles
public getArticles ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getId() public méthode

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

getOrderNum() public méthode

Get orderNum
public getOrderNum ( ) : integer
Résultat integer

getRaw() public méthode

Get raw
public getRaw ( ) : string
Résultat string

getType() public méthode

Get type
public getType ( ) : string
Résultat string

removeArticle() public méthode

Remove articles
public removeArticle ( Article $article )
$article Article

setCreated() public méthode

Set created
public setCreated ( DateTime $created ) : Citation
$created DateTime
Résultat Citation

setOrderNum() public méthode

Set orderNum
public setOrderNum ( integer $orderNum ) : Citation
$orderNum integer
Résultat Citation

setRaw() public méthode

Set raw
public setRaw ( string $raw ) : Citation
$raw string
Résultat Citation

setType() public méthode

Set type
public setType ( string $type ) : Citation
$type string
Résultat Citation

setUpdated() public méthode

Set updated
public setUpdated ( DateTime $updated ) : Citation
$updated DateTime
Résultat Citation