|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct (BaseValues $entity) | |
| getValuesEntity () | |
| set (array $templates) | |
| get (BaseValues $entity=null) | |
| hasTemplates (BaseValues $entity) | |
| delete () | |
| findTemplates () | |
Защищенные члены | |
| findTemplatesRecursive (BaseValues $entity, array &$templates) | |
Защищенные данные | |
| $entity = null | |
См. определение в файле basetemplate.php строка 9
| __construct | ( | BaseValues | $entity | ) |
| BaseValues | $entity | Sets the context for template substitution. |
См. определение в файле basetemplate.php строка 17
| delete | ( | ) |
Deletes templates for this entity from database.
Bitrix\Main\ArgumentException
См. определение в файле basetemplate.php строка 158
| findTemplates | ( | ) |
Returns templates for the entity and all it's parents. Adds INHERITED flag to each template found.
См. определение в файле basetemplate.php строка 204
|
protected |
Returns templates for the entity and all it's parents into $templates parameter.
| BaseValues | $entity | Entity. |
| array | &$templates | Templates returned. |
См. определение в файле basetemplate.php строка 184
| get | ( | BaseValues | $entity = null | ) |
Returns array of templates stored for the entity from database.
| BaseValues | $entity | Entity. |
Bitrix\Main\ArgumentException
См. определение в файле basetemplate.php строка 97
| getValuesEntity | ( | ) |
Returns entity for which this template is executing.
См. определение в файле basetemplate.php строка 27
| hasTemplates | ( | BaseValues | $entity | ) |
Checks if entity has any templates stored in the database. Caches the result in static variable.
| BaseValues | $entity | Entity. |
Bitrix\Main\ArgumentException
См. определение в файле basetemplate.php строка 134
| set | ( | array | $templates | ) |
Stores templates for entity into database.
| array | $templates | Templates to be stored to DB. |
Bitrix\Main\ArgumentException
См. определение в файле basetemplate.php строка 40
|
protected |
См. определение в файле basetemplate.php строка 12