메소드 | 설명 | |
---|---|---|
deleteSnippetTemplate ( $id, $force = false ) | ||
findSnippetTemplatesByName ( string $name, string $show = 'enabled', boolean $fuzzy = false ) : Doctrine\ORM\Query | Find SnippetTemplate by Name | |
getCurrentlyUsed ( ) : Doctrine\ORM\Query | Get Active SnippetTemplates | |
getDisabled ( ) : Doctrine\ORM\Query | Get Disabled SnippetTemplates | |
getEnabled ( ) : Doctrine\ORM\Query | Get Enabled SnippetTemplates | |
getFavourites ( ) : Doctrine\ORM\Query | Get Favourited SnippetTemplates | |
getPrototype ( ) : |
Get new instance of the Snippet | |
getSnippetTemplateQueryBuilder ( $show ) | ||
getSnippetTemplatesForArticle ( $articleNr, $languageCode, string $show = 'enabled' ) : Doctrine\ORM\Query | Get SnippetsTemplates for Article | |
getTemplateById ( integer $id, string $show = 'enabled' ) : |
Get SnippetTemplate by ID | |
save ( |
public getCurrentlyUsed ( ) : Doctrine\ORM\Query | ||
리턴 | Doctrine\ORM\Query | Query |
public getDisabled ( ) : Doctrine\ORM\Query | ||
리턴 | Doctrine\ORM\Query | Query |
public getEnabled ( ) : Doctrine\ORM\Query | ||
리턴 | Doctrine\ORM\Query | Query |
public getFavourites ( ) : Doctrine\ORM\Query | ||
리턴 | Doctrine\ORM\Query | Query |
public getPrototype ( ) : |
||
리턴 |
public getSnippetTemplatesForArticle ( $articleNr, $languageCode, string $show = 'enabled' ) : Doctrine\ORM\Query | ||
$show | string | Define which Snippets to return, 'enabled' | 'disabled' | 'all' |
리턴 | Doctrine\ORM\Query | Query |
public getTemplateById ( integer $id, string $show = 'enabled' ) : |
||
$id | integer | SnippetTemplate ID |
$show | string | Define which Snippets to return, 'enabled' | 'disabled' | 'all' |
리턴 |
public save ( |
||
$snippetTemplate |