YandexRegionTable extends AdvEntity
Class YandexGroupTable
Local mirror for Yandex.Direct banner groups
Fields:
- ID int mandatory
- ENGINE_ID int mandatory
- XML_ID string(255) mandatory
- LAST_UPDATE datetime optional
- SETTINGS string optional
- PARENT_ID int optional
Table of Contents
Constants
- ACTIVE = 'Y'
- CACHE_LIFETIME = 2592000
- ENGINE = 'yandex_direct'
- INACTIVE = 'N'
- OPTION_LAST_UPDATE = 'yandex_direct_region_last_update'
Methods
- createCollection() : EO_YandexRegion_Collection
- createObject() : EO_YandexRegion
- getById() : EO_YandexRegion_Result
- getByPrimary() : EO_YandexRegion_Result
- getEngine() : mixed
- getEntity() : EO_YandexRegion_Entity
- getFilePath() : mixed
- getLastUpdate() : mixed
- getList() : mixed
- getMap() : array<string|int, mixed>
- Returns entity map definition.
- getTableName() : mixed
- onBeforeAdd() : mixed
- onBeforeUpdate() : mixed
- query() : EO_YandexRegion_Query
- setLastUpdate() : mixed
- setSkipRemoteUpdate() : mixed
- updateDatabase() : mixed
- wakeUpCollection() : EO_YandexRegion_Collection
- wakeUpObject() : EO_YandexRegion
Constants
ACTIVE
public
mixed
ACTIVE
= 'Y'
CACHE_LIFETIME
public
mixed
CACHE_LIFETIME
= 2592000
ENGINE
public
mixed
ENGINE
= 'yandex_direct'
INACTIVE
public
mixed
INACTIVE
= 'N'
OPTION_LAST_UPDATE
public
mixed
OPTION_LAST_UPDATE
= 'yandex_direct_region_last_update'
Methods
createCollection()
public
static createCollection() : EO_YandexRegion_Collection
Return values
EO_YandexRegion_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_YandexRegion
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_YandexRegiongetById()
public
static getById(mixed $id) : EO_YandexRegion_Result
Parameters
- $id : mixed
Return values
EO_YandexRegion_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_YandexRegion_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_YandexRegion_ResultgetEngine()
public
static getEngine() : mixed
getEntity()
public
static getEntity() : EO_YandexRegion_Entity
Return values
EO_YandexRegion_EntitygetFilePath()
public
static getFilePath() : mixed
getLastUpdate()
public
static getLastUpdate() : mixed
getList()
public
static getList([array<string|int, mixed> $parameters = array() ]) : mixed
Parameters
- $parameters : array<string|int, mixed> = array()
getMap()
Returns entity map definition.
public
static getMap() : array<string|int, mixed>
Return values
array<string|int, mixed>getTableName()
public
static getTableName() : mixed
onBeforeAdd()
public
static onBeforeAdd(Event $event) : mixed
Parameters
- $event : Event
onBeforeUpdate()
public
static onBeforeUpdate(Event $event) : mixed
Parameters
- $event : Event
query()
public
static query() : EO_YandexRegion_Query
Return values
EO_YandexRegion_QuerysetLastUpdate()
public
static setLastUpdate([mixed $v = null ]) : mixed
Parameters
- $v : mixed = null
setSkipRemoteUpdate()
public
static setSkipRemoteUpdate(mixed $value) : mixed
Parameters
- $value : mixed
updateDatabase()
public
static updateDatabase() : mixed
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_YandexRegion_Collection
Parameters
- $rows : mixed
Return values
EO_YandexRegion_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_YandexRegion
Parameters
- $row : mixed