CategoryTable extends DataManager
Class CategoryTable
Fields:
- ID int mandatory
- NAME int mandatory
- CATEGORY_ID int mandatory
- PARENT_ID int mandatory
- LEVEL int mandatory
- CONDITION_ID_VALUES string(255) optional
- CONDITION_ID_DEFINITION_URL string(255) optional
- ITEM_SPECIFIC_ENABLED string(1) optional
- VARIATIONS_ENABLED string(1) optional
- PRODUCT_CREATION_ENABLED string(1) optional
- LAST_UPDATE string(1) optional
Table of Contents
Methods
- createCollection() : EO_Category_Collection
- createObject() : EO_Category
- getById() : EO_Category_Result
- getByPrimary() : EO_Category_Result
- getCategoryParents() : array<string|int, mixed>
- getEntity() : EO_Category_Entity
- getFilePath() : mixed
- getList() : EO_Category_Result
- getMap() : mixed
- getTableName() : mixed
- query() : EO_Category_Query
- update() : UpdateResult
- Overrides parent update to sate update date to current.
- validateName() : mixed
- wakeUpCollection() : EO_Category_Collection
- wakeUpObject() : EO_Category
Methods
createCollection()
public
static createCollection() : EO_Category_Collection
Return values
EO_Category_CollectioncreateObject()
public
static createObject([mixed $setDefaultValues = = 'true' ]) : EO_Category
Parameters
- $setDefaultValues : mixed = = 'true'
Return values
EO_CategorygetById()
public
static getById(mixed $id) : EO_Category_Result
Parameters
- $id : mixed
Return values
EO_Category_ResultgetByPrimary()
public
static getByPrimary(mixed $primary[, array<string|int, mixed> $parameters = = '[]' ]) : EO_Category_Result
Parameters
- $primary : mixed
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Category_ResultgetCategoryParents()
public
static getCategoryParents(string $ebayCategoryId) : array<string|int, mixed>
Parameters
- $ebayCategoryId : string
-
Ebay category Id.
Return values
array<string|int, mixed> —Ebay category parents chain till top level.
getEntity()
public
static getEntity() : EO_Category_Entity
Return values
EO_Category_EntitygetFilePath()
public
static getFilePath() : mixed
getList()
public
static getList([array<string|int, mixed> $parameters = = '[]' ]) : EO_Category_Result
Parameters
- $parameters : array<string|int, mixed> = = '[]'
Return values
EO_Category_ResultgetMap()
public
static getMap() : mixed
getTableName()
public
static getTableName() : mixed
query()
public
static query() : EO_Category_Query
Return values
EO_Category_Queryupdate()
Overrides parent update to sate update date to current.
public
static update(mixed $primary, array<string|int, mixed> $data) : UpdateResult
Parameters
- $primary : mixed
-
Primary key.
- $data : array<string|int, mixed>
-
Data fields.
Return values
UpdateResultvalidateName()
public
static validateName() : mixed
wakeUpCollection()
public
static wakeUpCollection(mixed $rows) : EO_Category_Collection
Parameters
- $rows : mixed
Return values
EO_Category_CollectionwakeUpObject()
public
static wakeUpObject(mixed $row) : EO_Category
Parameters
- $row : mixed