PHP Class Ojs\JournalBundle\Entity\Citation

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

Public Methods

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

public __construct ( )

addArticle() public method

Add article
public addArticle ( Article $article ) : Citation
$article Article
return Citation

getArticles() public method

Get articles
public getArticles ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getId() public method

Get id
public getId ( ) : integer
return integer

getOrderNum() public method

Get orderNum
public getOrderNum ( ) : integer
return integer

getRaw() public method

Get raw
public getRaw ( ) : string
return string

getType() public method

Get type
public getType ( ) : string
return string

removeArticle() public method

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

setCreated() public method

Set created
public setCreated ( DateTime $created ) : Citation
$created DateTime
return Citation

setOrderNum() public method

Set orderNum
public setOrderNum ( integer $orderNum ) : Citation
$orderNum integer
return Citation

setRaw() public method

Set raw
public setRaw ( string $raw ) : Citation
$raw string
return Citation

setType() public method

Set type
public setType ( string $type ) : Citation
$type string
return Citation

setUpdated() public method

Set updated
public setUpdated ( DateTime $updated ) : Citation
$updated DateTime
return Citation