Метод | Описание | |
---|---|---|
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 findSnippetTemplatesByName ( string $name, string $show = 'enabled', boolean $fuzzy = false ) : Doctrine\ORM\Query | ||
$name | string | SnippetTemplate Name |
$show | string | Define which Snippets to return, 'enabled' | 'disabled' | 'all' |
$fuzzy | boolean | Find fuzzy or not |
Результат | Doctrine\ORM\Query | Query |
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 |