Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс Section
+ Граф наследования:Section:

Открытые атрибуты

const SECTION_TYPE_LOCAL = 'local'
 
const DEFAULT_SORT = 100
 
- Открытые атрибуты унаследованные от Mapper
const POSITIVE_ANSWER = 'Y'
 
const NEGATIVE_ANSWER = 'N'
 

Защищенные члены

 getOneEntityByFilter (array $filter)
 
 convertToObject ($objectEO)
 
 getEntityName ()
 
 createEntity ($entity, array $params=[])
 
 updateEntity ($entity, array $params=[])
 
 getMapClass ()
 
 deleteEntity (Core\Base\EntityInterface $entity, array $params=['softDelete'=> true])
 
 getDataManagerResult (array $params)
 
 getEntityClass ()
 
- Защищенные члены унаследованные от Mapper
 getCacheMap ()
 
 initCacheMap (string $class)
 

Дополнительные унаследованные члены

- Открытые члены унаследованные от Mapper
 getById (int $id)
 
 getByEntityObject ($entityObject)
 
 create (Core\Base\EntityInterface $entity, array $params=[])
 
 update (Core\Base\EntityInterface $entity, array $params=[])
 
 delete (Core\Base\EntityInterface $entity, array $params=['softDelete'=> true])
 
 deleteMap (Core\Base\EntityMap $map, array $params=['softDelete'=> true])
 
 deleteByFilter ($filter, array $params=['softDelete'=> true])
 
 getMap ($filter, int $limit=null, array $order=null)
 
 resetCacheById (int $id)
 
- Защищенные данные унаследованные от Mapper
const DEFAULT_SELECT = ['*']
 
- Статические защищенные данные унаследованные от Mapper
static array $cache = []
 

Подробное описание

См. определение в файле section.php строка 20

Методы

◆ convertToObject()

convertToObject ( $objectEO)
protected
Аргументы
EO_Section$objectEO
Возвращает
Core\Section\Section

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 89

◆ createEntity()

createEntity ( $entity,
array $params = [] )
protected
Аргументы
Core\Section\Section$entity
array$params
Возвращает
Core\Base\EntityInterface|null
Исключения
Core

Base\BaseException

Исключения
Exception

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 111

◆ deleteEntity()

deleteEntity ( Core\Base\EntityInterface $entity,
array $params = ['softDelete' => true] )
protected
Аргументы
Core\Section\Section$entity
array$params[ 'softDelete' => mark section is not active ]
Возвращает
Core\Base\EntityInterface|null
Исключения
Core

Base\BaseException

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 175

◆ getDataManagerResult()

getDataManagerResult ( array $params)
protected
Аргументы
array$params
Возвращает
Result
Исключения
ArgumentException
ObjectPropertyException
SystemException

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 202

◆ getEntityClass()

getEntityClass ( )
protected
Возвращает
string

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 260

◆ getEntityName()

getEntityName ( )
protected
Возвращает
string

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 97

◆ getMapClass()

getMapClass ( )
protected
Возвращает
string

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 159

◆ getOneEntityByFilter()

getOneEntityByFilter ( array $filter)
protected
Аргументы
array$filter
Возвращает
Core\Section\Section|null
Исключения
ArgumentException
ObjectPropertyException
SystemException

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 71

◆ updateEntity()

updateEntity ( $entity,
array $params = [] )
protected
Аргументы
Core\Section\Section$entity
array$params
Возвращает
Core\Base\EntityInterface|null
Исключения
Core

Base\BaseException

Исключения
Exception

Переопределяет метод предка Mapper.

См. определение в файле section.php строка 138

Данные класса

◆ DEFAULT_SORT

const DEFAULT_SORT = 100

См. определение в файле section.php строка 24

◆ SECTION_TYPE_LOCAL

const SECTION_TYPE_LOCAL = 'local'

См. определение в файле section.php строка 22