PHP 인터페이스 Newscoop\Service\IArticleTypeService

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
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

메소드 상세

findAllTypes() 공개 메소드

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

findFields() 공개 메소드

Get all fields per article type
public findFields ( ArticleType $type ) : array
$type Newscoop\Entity\ArticleType
리턴 array

findTypeByName() 공개 메소드

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