PHP 클래스 Sulu\Component\Content\Extension\ExtensionManager

상속: implements Sulu\Component\Content\Extension\ExtensionManagerInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
addExtension ( Sulu\Component\Content\Extension\ExtensionInterface $extension, $structureType = 'all' )
getExtension ( $structureType, $name )
getExtensions ( $structureType )
hasExtension ( $structureType, $name ) TODO: This is not efficient. The extensions should be indexed by structureType.

메소드 상세

addExtension() 공개 메소드

TODO: Using "all" here is not a good idea. This means that nobody can create a structureType called "all"
public addExtension ( Sulu\Component\Content\Extension\ExtensionInterface $extension, $structureType = 'all' )
$extension Sulu\Component\Content\Extension\ExtensionInterface

getExtension() 공개 메소드

public getExtension ( $structureType, $name )

getExtensions() 공개 메소드

public getExtensions ( $structureType )

hasExtension() 공개 메소드

public hasExtension ( $structureType, $name )