1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс Section
Граф наследования:Section:
Mapper BaseMapperInterface BaseMapperInterface

Поля данных

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 строка 21

Методы

◆ convertToObject()

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

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

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

◆ createEntity()

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

Base\BaseException

Исключения
Exception

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

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

◆ 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 строка 179

◆ getDataManagerResult()

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

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

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

◆ getEntityClass()

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

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

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

◆ getEntityName()

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

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

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

◆ getMapClass()

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

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

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

◆ getOneEntityByFilter()

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

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

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

◆ updateEntity()

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

Base\BaseException

Исключения
Exception

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

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

Поля

◆ DEFAULT_SORT

const DEFAULT_SORT = 100

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

◆ SECTION_TYPE_LOCAL

const SECTION_TYPE_LOCAL = 'local'

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


Объявления и описания членов класса находятся в файле:
  • C:/bitrix/modules/calendar/lib/core/mappers/section.php