PHP 인터페이스 Sulu\Component\Content\ContentTypeManagerInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
get ( string $contentTypeName ) : Sulu\Component\Content\ContentTypeInterface returns content type.
getAll ( ) : Sulu\Component\Content\ContentTypeInterface[] returns all content types.
has ( string $contentTypeName ) : boolean checks if contentType exists.

메소드 상세

get() 공개 메소드

returns content type.
public get ( string $contentTypeName ) : Sulu\Component\Content\ContentTypeInterface
$contentTypeName string The name of the content to load
리턴 Sulu\Component\Content\ContentTypeInterface

getAll() 공개 메소드

returns all content types.
public getAll ( ) : Sulu\Component\Content\ContentTypeInterface[]
리턴 Sulu\Component\Content\ContentTypeInterface[]

has() 공개 메소드

checks if contentType exists.
public has ( string $contentTypeName ) : boolean
$contentTypeName string
리턴 boolean