Table of Contents
Interfaces
- BaseMapperInterface
Constants
-
DEFAULT_SORT
= 100
-
NEGATIVE_ANSWER
= 'N'
-
POSITIVE_ANSWER
= 'Y'
-
SECTION_TYPE_LOCAL
= 'local'
Methods
-
create()
: EntityInterface|Event|Connection|Section|SectionConnection|EventConnection
-
delete()
: object|null
-
deleteByFilter()
: $this
-
deleteMap()
: void
-
getByEntityObject()
: EntityInterface|null
-
getById()
: EntityInterface|null
-
getMap()
: Map
-
resetCacheById()
: $this
-
update()
: Event
DEFAULT_SORT
public
mixed
DEFAULT_SORT
= 100
NEGATIVE_ANSWER
public
mixed
NEGATIVE_ANSWER
= 'N'
POSITIVE_ANSWER
public
mixed
POSITIVE_ANSWER
= 'Y'
SECTION_TYPE_LOCAL
public
mixed
SECTION_TYPE_LOCAL
= 'local'
create()
public
create(EntityInterface $entity[, array<string|int, mixed> $params = [] ]) : EntityInterface|Event|Connection|Section|SectionConnection|EventConnection
Parameters
-
$entity
: EntityInterface
-
-
$params
: array<string|int, mixed>
= []
-
-
throws
-
ArgumentException
delete()
public
delete(EntityInterface $entity[, array<string|int, mixed> $params = ['softDelete' => true] ]) : object|null
Parameters
-
$entity
: EntityInterface
-
-
$params
: array<string|int, mixed>
= ['softDelete' => true]
-
Return values
object|null
deleteByFilter()
public
deleteByFilter(mixed $filter[, array<string|int, mixed> $params = ['softDelete' => true] ]) : $this
Parameters
-
$filter
: mixed
-
-
$params
: array<string|int, mixed>
= ['softDelete' => true]
-
-
throws
-
ArgumentException
-
throws
-
SystemException
deleteMap()
public
deleteMap(EntityMap $map[, array<string|int, mixed> $params = ['softDelete' => true] ]) : void
Parameters
-
$map
: EntityMap
-
-
$params
: array<string|int, mixed>
= ['softDelete' => true]
-
-
throws
-
BaseException
getByEntityObject()
public
getByEntityObject(mixed $entityObject) : EntityInterface|null
Parameters
-
$entityObject
: mixed
-
-
throws
-
ArgumentException
getById()
public
getById(int $id) : EntityInterface|null
Parameters
-
$id
: int
-
-
throws
-
ArgumentException
getMap()
public
getMap(array<string|int, mixed> $filter[, int|null $limit = null ][, array<string|int, mixed>|null $order = null ]) : Map
Parameters
-
$filter
: array<string|int, mixed>
-
-
$limit
: int|null
= null
-
-
$order
: array<string|int, mixed>|null
= null
-
-
throws
-
ArgumentException
-
throws
-
SystemException
resetCacheById()
public
resetCacheById(int $id) : $this
Parameters
-
$id
: int
-
update()
public
update(EntityInterface $entity[, array<string|int, mixed> $params = [] ]) : Event
Parameters
-
$entity
: EntityInterface
-
-
$params
: array<string|int, mixed>
= []
-