class CategoryTotalCount extends AbstractEntity

deprecated since 3.0.0, to be removed in 3.1

CategoryTotalCount

Methods

offsetExists($offset)

No description

offsetSet($offset, $value)

No description

offsetGet($offset)

No description

offsetUnset($offset)

No description

setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

object
copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

integer
getCategoryId()

Get category_id

setProductCount(integer $productCount)

Set product_count

integer
getProductCount()

Get product_count

setCreateDate(DateTime $createDate)

Set create_date

getCreateDate()

Get create_date

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

in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)

引数の連想配列を元にプロパティを設定します.

DBから取り出した連想配列を, プロパティへ設定する際に使用します.

Parameters

array $arrProps
array $excludeAttribute
ReflectionClass $parentClass

in AbstractEntity at line 99
array toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)

プロパティの値を連想配列で返します.

DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.

Parameters

array $excludeAttribute
ReflectionClass $parentClass

Return Value

array 連想配列のプロパティの値

in AbstractEntity at line 139
object copyProperties(object $srcObject, array $excludeAttribute = array())

コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー

Parameters

object $srcObject コピー元のオブジェクト
array $excludeAttribute 除外したいフィールド名の配列

Return Value

object

at line 54
integer getCategoryId()

Get category_id

Return Value

integer

at line 65
CategoryTotalCount setProductCount(integer $productCount)

Set product_count

Parameters

integer $productCount

Return Value

CategoryTotalCount

at line 77
integer getProductCount()

Get product_count

Return Value

integer

at line 88
CategoryTotalCount setCreateDate(DateTime $createDate)

Set create_date

Parameters

DateTime $createDate

Return Value

CategoryTotalCount

at line 100
DateTime getCreateDate()

Get create_date

Return Value

DateTime