PHP 인터페이스 Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface

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

공개 메소드들

메소드 설명
isDefault ( string $uuid ) : boolean Returns true if given uuid is a default snippet.
load ( string $webspaceKey, string $type, string $locale ) : SnippetDocument Load default snippet for given type.
loadIdentifier ( string $webspaceKey, string $type ) : string Loads identifier for given type.
remove ( string $webspaceKey, string $type ) Remove default snippet for given type.
save ( string $webspaceKey, string $type, string $uuid, string $locale ) : SnippetDocument Save default snippet for given type.

메소드 상세

isDefault() 공개 메소드

Returns true if given uuid is a default snippet.
public isDefault ( string $uuid ) : boolean
$uuid string
리턴 boolean

load() 공개 메소드

Load default snippet for given type.
public load ( string $webspaceKey, string $type, string $locale ) : SnippetDocument
$webspaceKey string
$type string
$locale string
리턴 Sulu\Bundle\SnippetBundle\Document\SnippetDocument

loadIdentifier() 공개 메소드

Loads identifier for given type.
public loadIdentifier ( string $webspaceKey, string $type ) : string
$webspaceKey string
$type string
리턴 string

remove() 공개 메소드

Remove default snippet for given type.
public remove ( string $webspaceKey, string $type )
$webspaceKey string
$type string

save() 공개 메소드

Save default snippet for given type.
public save ( string $webspaceKey, string $type, string $uuid, string $locale ) : SnippetDocument
$webspaceKey string
$type string
$uuid string
$locale string
리턴 Sulu\Bundle\SnippetBundle\Document\SnippetDocument