PHP Interface Newscoop\Service\IArticleTypeService

Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode Description
findAllTypes ( ) : array Find all article types, which you can get fields for later on
findFields ( ArticleType $type ) : array Get all fields per article type
findTypeByName ( string $name ) : ArticleType | null Find one article type by name

Method Details

findAllTypes() public méthode

Find all article types, which you can get fields for later on
public findAllTypes ( ) : array
Résultat array most probably consisting of \Newscroop\Entity\ArticleType instances

findFields() public méthode

Get all fields per article type
public findFields ( ArticleType $type ) : array
$type Newscoop\Entity\ArticleType
Résultat array

findTypeByName() public méthode

Find one article type by name
public findTypeByName ( string $name ) : ArticleType | null
$name string
Résultat Newscoop\Entity\ArticleType | null returns null if not found!