PHP Class Newscoop\Entity\ArticleType

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

Protected Properties

Свойство Type Description
$articleTypeFields Doctrine\Common\Collections\ArrayCollection (at) OneToMany( targetEntity="Newscoop\Entity\ArticleTypeField", mappedBy="articleType" )
$fieldName
$name
$phraseId integer

Méthodes publiques

Méthode Description
__toString ( ) : string Used for update and stuff
getArticleTypeFields ( ) : ArrayCollection Getter for articleTypeFields
getFieldName ( ) : string Getter for fieldName
getName ( ) : string Provides the name of the article type.
getPhraseId ( ) : integer Provides article type phraseId.
setArticleTypeFields ( ArrayCollection $articleTypeFields ) : self Setter for articleTypeFields
setName ( string $name ) : Newscoop\Entity\ArticleType Set the name of the article type
setPhraseId ( $phraseId ) Set article type phraseId.

Method Details

__toString() public méthode

Used for update and stuff
public __toString ( ) : string
Résultat string

getArticleTypeFields() public méthode

Getter for articleTypeFields
public getArticleTypeFields ( ) : ArrayCollection
Résultat Doctrine\Common\Collections\ArrayCollection

getFieldName() public méthode

Getter for fieldName
public getFieldName ( ) : string
Résultat string

getName() public méthode

Provides the name of the article type.
public getName ( ) : string
Résultat string The name of the theme.

getPhraseId() public méthode

Provides article type phraseId.
public getPhraseId ( ) : integer
Résultat integer

setArticleTypeFields() public méthode

Setter for articleTypeFields
public setArticleTypeFields ( ArrayCollection $articleTypeFields ) : self
$articleTypeFields Doctrine\Common\Collections\ArrayCollection Value to set
Résultat self

setName() public méthode

Set the name of the article type
public setName ( string $name ) : Newscoop\Entity\ArticleType
$name string The name of the article type, must not be null or empty.
Résultat Newscoop\Entity\ArticleType This object for chaining purposes.

setPhraseId() public méthode

Set article type phraseId.
public setPhraseId ( $phraseId )

Property Details

$articleTypeFields protected_oe property

(at) OneToMany( targetEntity="Newscoop\Entity\ArticleTypeField", mappedBy="articleType" )
protected ArrayCollection,Doctrine\Common\Collections $articleTypeFields
Résultat Doctrine\Common\Collections\ArrayCollection

$fieldName protected_oe property

protected $fieldName

$name protected_oe property

protected $name

$phraseId protected_oe property

protected int $phraseId
Résultat integer