PHP Interface Sulu\Component\Content\ContentTypeManagerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

get() public méthode

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

getAll() public méthode

returns all content types.
public getAll ( ) : Sulu\Component\Content\ContentTypeInterface[]
Résultat Sulu\Component\Content\ContentTypeInterface[]

has() public méthode

checks if contentType exists.
public has ( string $contentTypeName ) : boolean
$contentTypeName string
Résultat boolean