메소드 | 설명 | |
---|---|---|
__construct ( ) | Constructor. | |
addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
Add media. | |
getDescription ( ) : string | Get description. | |
getId ( ) : integer | Get id. | |
getMedia ( ) : Doctrine\Common\Collections\Collection | Get media. | |
getName ( ) : string | Get name. | |
removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | Remove media. | |
setDescription ( string $description ) : |
Set description. | |
setId ( integer $id ) | To force id = 1 in load fixtures. | |
setName ( string $name ) : |
Set name. |
public addMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) : |
||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface | |
리턴 |
public getMedia ( ) : Doctrine\Common\Collections\Collection | ||
리턴 | Doctrine\Common\Collections\Collection |
public removeMedia ( Sulu\Bundle\MediaBundle\Entity\MediaInterface $media ) | ||
$media | Sulu\Bundle\MediaBundle\Entity\MediaInterface |
public setDescription ( string $description ) : |
||
$description | string | |
리턴 |