메소드 | 설명 | |
---|---|---|
__construct ( |
||
copyLocale ( string $uuid, integer $userId, string $srcLocale, string $destLocales ) : |
Copy snippet from src-locale to dest-locale. | |
getReferences ( string $uuid ) : PHPCR\NodeInterface[] | Return the nodes which refer to the structure with the given UUID. | |
getSnippets ( string $locale, string $type = null, integer $offset = null, integer $max = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
Return snippets. | |
getSnippetsAmount ( string $locale, string $type = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
Return snippets amount. | |
getSnippetsByUuids ( array $uuids, string $locale, boolean $loadGhostContent = false ) : |
Return snippets identified by the given UUIDs. |
메소드 | 설명 | |
---|---|---|
getSnippetsQuery ( string $locale, string $type = null, integer $offset = null, integer $max = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
Return snippets load query. |
public __construct ( |
||
$sessionManager | ||
$contentMapper | ||
$documentManager | Sulu\Component\DocumentManager\DocumentManager |
public getReferences ( string $uuid ) : PHPCR\NodeInterface[] | ||
$uuid | string | |
리턴 | PHPCR\NodeInterface[] |
public getSnippets ( string $locale, string $type = null, integer $offset = null, integer $max = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
||
$locale | string | |
$type | string | Optional snippet type |
$offset | integer | Optional offset |
$max | integer | Optional max |
$search | string | |
$sortBy | string | |
$sortOrder | string | |
리턴 |
public getSnippetsAmount ( string $locale, string $type = null, string $search = null, string $sortBy = null, string $sortOrder = null ) : |
||
$locale | string | |
$type | string | Optional snippet type |
$search | string | |
$sortBy | string | |
$sortOrder | string | |
리턴 |