class CategoryMapping extends BaseEntity

Class CategoryMapping

Methods

__construct(array $raw = array())

Construct a new BaseEntity from raw array data

bool
isMainCategory()

Return whether or not the category is a main category

setMainCategory(boolean $mainCategory)

No description

mixed
getCategoryId()

Get the ID of a category

setCategoryId(string $categoryId)

No description

mixed
getCategory()

Get the category name

setCategory(string $category)

No description

Details

in BaseEntity at line line 31
__construct(array $raw = array())

Construct a new BaseEntity from raw array data

Parameters

array $raw

Exceptions

LackOfCoffeeException

at line line 34
bool isMainCategory()

Return whether or not the category is a main category

Return Value

bool

at line line 42
setMainCategory(boolean $mainCategory)

Parameters

boolean $mainCategory

at line line 52
mixed getCategoryId()

Get the ID of a category

Return Value

mixed

at line line 60
setCategoryId(string $categoryId)

Parameters

string $categoryId

at line line 70
mixed getCategory()

Get the category name

Return Value

mixed

at line line 78
setCategory(string $category)

Parameters

string $category