3namespace Bitrix\Calendar\Core\Mappers;
5use Bitrix\Calendar\Core;
6use Bitrix\Main\ArgumentException;
7use Bitrix\Main\ObjectPropertyException;
8use Bitrix\Main\ORM\Query\Result;
9use Bitrix\Main\SystemException;
52 if ($this->
getCacheMap()->has($entityObject->getId()))
54 return $this->
getCacheMap()->getItem($entityObject->getId());
85 if ($resultEntity && $resultEntity->getId())
87 $this->
getCacheMap()->add($resultEntity, $resultEntity->getId());
106 if ($resultEntity && $resultEntity->getId())
108 $this->
getCacheMap()->updateItem($resultEntity, $resultEntity->getId());
110 return $resultEntity;
122 public function delete(
128 if ($resultEntity ===
null)
135 if (!empty($resultEntity->getId()))
137 $this->
getCacheMap()->updateItem($resultEntity, $resultEntity->getId());
139 return $resultEntity;
180 while ($row = $managerResult->fetchObject())
220 $params[
'select'] = self::DEFAULT_SELECT;
223 while ($row = $managerResult->fetchObject())
228 $result->add($link, $link->getId());
255 if (empty(self::$cache[static::class]))
260 return self::$cache[static::class];
270 $object = (get_class($this) === $class)
274 $mapClassName = $object->getMapClass();
276 self::$cache[$class] =
new $mapClassName();
285 return Core\Base\EntityMap::class;
convertToObject($objectEO)
initCacheMap(string $class)
updateEntity($entity, array $params=[])
getMap($filter, int $limit=null, array $order=null)
deleteMap(Core\Base\EntityMap $map, array $params=['softDelete'=> true])
deleteByFilter($filter, array $params=['softDelete'=> true])
update(Core\Base\EntityInterface $entity, array $params=[])
getOneEntityByFilter(array $filter)
deleteEntity(Core\Base\EntityInterface $entity, array $params)
create(Core\Base\EntityInterface $entity, array $params=[])
getByEntityObject($entityObject)
createEntity($entity, array $params=[])
getDataManagerResult(array $params)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']