PHP Class Newscoop\Entity\Repository\AttachmentRepository

Inheritance: extends Doctrine\ORM\EntityRepository
Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
getAttachment ( integer $number ) : Doctrine\ORM\Query Get single attachment by id
getAttachments ( ) : Doctrine\ORM\Query Get all attachments
getDescription ( integer $attachmentId ) : Translation Get attachment decritpion

Method Details

getAttachment() public méthode

Get single attachment by id
public getAttachment ( integer $number ) : Doctrine\ORM\Query
$number integer
Résultat Doctrine\ORM\Query

getAttachments() public méthode

Get all attachments
public getAttachments ( ) : Doctrine\ORM\Query
Résultat Doctrine\ORM\Query

getDescription() public méthode

Get attachment decritpion
public getDescription ( integer $attachmentId ) : Translation
$attachmentId integer
Résultat Newscoop\Entity\Translation