class Category extends AbstractEntity

Category

Methods

offsetExists($offset)

No description

offsetSet($offset, $value)

No description

offsetGet($offset)

No description

offsetUnset($offset)

No description

string
__toString()

No description

integer
countBranches()

No description

calcChildrenRank(EntityManager $em, integer $rank)

No description

getParents()

No description

getPath()

No description

getNameWithLevel()

No description

getDescendants()

No description

getSelfAndDescendants()

No description

__construct()

Constructor

integer
getId()

Get id

setName(string $name)

Set name

string
getName()

Get name

setLevel(integer $level)

Set level

integer
getLevel()

Get level

setRank(integer $rank)

Set rank

integer
getRank()

Get rank

setCreateDate(DateTime $createDate)

Set create_date

getCreateDate()

Get create_date

setUpdateDate(DateTime $updateDate)

Set update_date

getUpdateDate()

Get update_date

setDelFlg(integer $delFlg)

Set del_flg

integer
getDelFlg()

Get del_flg

setCategoryCount(CategoryCount $categoryCount = null)

Set CategoryCount

getCategoryCount()

Get CategoryCount

setCategoryTotalCount(CategoryTotalCount $categoryTotalCount = null)

Set CategoryTotalCount

getCategoryTotalCount()

Get CategoryTotalCount

addProductCategory(ProductCategory $productCategories)

Add ProductCategories

removeProductCategory(ProductCategory $productCategories)

Remove ProductCategories

Collection
getProductCategories()

Get ProductCategories

addChild(Category $children)

Add Children

removeChild(Category $children)

Remove Children

Collection
getChildren()

Get Children

setParent(Category $parent = null)

Set Parent

getParent()

Get Parent

setCreator(Member $creator = null)

Set Creator

getCreator()

Get Creator

Details

in AbstractEntity at line 32
offsetExists($offset)

Parameters

$offset

in AbstractEntity at line 39
offsetSet($offset, $value)

Parameters

$offset
$value

in AbstractEntity at line 43
offsetGet($offset)

Parameters

$offset

in AbstractEntity at line 54
offsetUnset($offset)

Parameters

$offset

at line 37
string __toString()

Return Value

string

at line 45
integer countBranches()

Return Value

integer

at line 61
Category calcChildrenRank(EntityManager $em, integer $rank)

Parameters

EntityManager $em
integer $rank

Return Value

Category

at line 73
getParents()

at line 81
getPath()

at line 99
getNameWithLevel()

at line 104
getDescendants()

at line 121
getSelfAndDescendants()

at line 195
__construct()

Constructor

at line 206
integer getId()

Get id

Return Value

integer

at line 217
Category setName(string $name)

Set name

Parameters

string $name

Return Value

Category

at line 229
string getName()

Get name

Return Value

string

at line 240
Category setLevel(integer $level)

Set level

Parameters

integer $level

Return Value

Category

at line 252
integer getLevel()

Get level

Return Value

integer

at line 263
Category setRank(integer $rank)

Set rank

Parameters

integer $rank

Return Value

Category

at line 275
integer getRank()

Get rank

Return Value

integer

at line 286
Category setCreateDate(DateTime $createDate)

Set create_date

Parameters

DateTime $createDate

Return Value

Category

at line 298
DateTime getCreateDate()

Get create_date

Return Value

DateTime

at line 309
Category setUpdateDate(DateTime $updateDate)

Set update_date

Parameters

DateTime $updateDate

Return Value

Category

at line 321
DateTime getUpdateDate()

Get update_date

Return Value

DateTime

at line 332
Category setDelFlg(integer $delFlg)

Set del_flg

Parameters

integer $delFlg

Return Value

Category

at line 344
integer getDelFlg()

Get del_flg

Return Value

integer

at line 355
Category setCategoryCount(CategoryCount $categoryCount = null)

Set CategoryCount

Parameters

CategoryCount $categoryCount

Return Value

Category

at line 367
CategoryCount getCategoryCount()

Get CategoryCount

Return Value

CategoryCount

at line 378
Category setCategoryTotalCount(CategoryTotalCount $categoryTotalCount = null)

Set CategoryTotalCount

Parameters

CategoryTotalCount $categoryTotalCount

Return Value

Category

at line 390
CategoryTotalCount getCategoryTotalCount()

Get CategoryTotalCount

Return Value

CategoryTotalCount

at line 401
Category addProductCategory(ProductCategory $productCategories)

Add ProductCategories

Parameters

ProductCategory $productCategories

Return Value

Category

at line 413
removeProductCategory(ProductCategory $productCategories)

Remove ProductCategories

Parameters

ProductCategory $productCategories

at line 423
Collection getProductCategories()

Get ProductCategories

Return Value

Collection

at line 434
Category addChild(Category $children)

Add Children

Parameters

Category $children

Return Value

Category

at line 446
removeChild(Category $children)

Remove Children

Parameters

Category $children

at line 456
Collection getChildren()

Get Children

Return Value

Collection

at line 467
Category setParent(Category $parent = null)

Set Parent

Parameters

Category $parent

Return Value

Category

at line 479
Category getParent()

Get Parent

Return Value

Category

at line 490
Category setCreator(Member $creator = null)

Set Creator

Parameters

Member $creator

Return Value

Category

at line 502
Member getCreator()

Get Creator

Return Value

Member