PHP Class Newscoop\Entity\AuthorType

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

Protected Properties

Свойство Type Description
$authors Doctrine\Common\Collections\ArrayCollection
$id integer
$type

Méthodes publiques

Méthode Description
__construct ( string $type = null )
__toString ( ) : string
getId ( ) : integer Gets the value of id.
getType ( ) : string Get type field
setType ( $type ) Set type field

Method Details

__construct() public méthode

public __construct ( string $type = null )
$type string

__toString() public méthode

public __toString ( ) : string
Résultat string

getId() public méthode

Gets the value of id.
public getId ( ) : integer
Résultat integer

getType() public méthode

Get type field
public getType ( ) : string
Résultat string The name of the type.

setType() public méthode

Set type field
public setType ( $type )

Property Details

$authors protected_oe property

protected ArrayCollection,Doctrine\Common\Collections $authors
Résultat Doctrine\Common\Collections\ArrayCollection

$id protected_oe property

protected int $id
Résultat integer

$type protected_oe property

protected $type