class Product extends AbstractEntity

Product

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())

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

string
__toString()

No description

_calc()

No description

bool
isEnable()

Is Enable

bool
getClassName1()

Get ClassName1

bool
getClassName2()

Get ClassName2

bool
getClassCategories1()

Get getClassCategories1

bool
getClassCategories2($class_category1)

Get getClassCategories2

bool
getStockFind()

Get StockFind

integer
getStockMin()

Get Stock min

integer
getStockMax()

Get Stock max

integer
getStockUnlimitedMin()

Get StockUnlimited min

integer
getStockUnlimitedMax()

Get StockUnlimited max

integer
getPrice01Min()

Get Price01 min

integer
getPrice01Max()

Get Price01 max

integer
getPrice02Min()

Get Price02 min

integer
getPrice02Max()

Get Price02 max

integer
getPrice01IncTaxMin()

Get Price01IncTax min

integer
getPrice01IncTaxMax()

Get Price01IncTax max

integer
getPrice02IncTaxMin()

Get Price02IncTax min

integer
getPrice02IncTaxMax()

Get Price02IncTax max

integer
getCodeMin()

Get Product_code min

integer
getCodeMax()

Get Product_code max

array
getClassCategories()

Get ClassCategories

getMainListImage()

No description

__construct()

Constructor

__clone()

No description

copy()

No description

integer
getId()

Get id

setName(string $name)

Set name

string
getName()

Get name

setNote(string $note)

Set note

string
getNote()

Get note

setDescriptionList(string $descriptionList)

Set description_list

string
getDescriptionList()

Get description_list

setDescriptionDetail(string $descriptionDetail)

Set description_detail

string
getDescriptionDetail()

Get description_detail

setSearchWord(string $searchWord)

Set search_word

string
getSearchWord()

Get search_word

setFreeArea(string $freeArea)

Set free_area

string
getFreeArea()

Get free_area

setDelFlg(integer $delFlg)

Set del_flg

integer
getDelFlg()

Get del_flg

setCreateDate(DateTime $createDate)

Set create_date

getCreateDate()

Get create_date

setUpdateDate(DateTime $updateDate)

Set update_date

getUpdateDate()

Get update_date

addProductCategory(ProductCategory $productCategories)

Add ProductCategories

removeProductCategory(ProductCategory $productCategories)

Remove ProductCategories

Collection
getProductCategories()

Get ProductCategories

addProductClass(ProductClass $productClasses)

Add ProductClasses

removeProductClass(ProductClass $productClasses)

Remove ProductClasses

Collection
getProductClasses()

Get ProductClasses

hasProductClass()

No description

addCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)

Add CustomerFavoriteProducts

removeCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)

Remove CustomerFavoriteProducts

Collection
getCustomerFavoriteProducts()

Get CustomerFavoriteProducts

setCreator(Member $creator)

Set Creator

getCreator()

Get Creator

setStatus(Disp $status = null)

Set Status

getStatus()

Get Status

addProductImage(ProductImage $productImage)

Add ProductImage

removeProductImage(ProductImage $productImage)

Remove ProductImage

Collection
getProductImage()

Get ProductImage

getMainFileName()

No description

addProductTag(ProductTag $productTag)

Add ProductTag

removeProductTag(ProductTag $productTag)

Remove ProductTag

Collection
getProductTag()

Get ProductTag

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 51
string __toString()

Return Value

string

at line 56
_calc()

at line 120
bool isEnable()

Is Enable

Return Value

bool

at line 130
bool getClassName1()

Get ClassName1

Return Value

bool

at line 142
bool getClassName2()

Get ClassName2

Return Value

bool

at line 154
bool getClassCategories1()

Get getClassCategories1

Return Value

bool

at line 166
bool getClassCategories2($class_category1)

Get getClassCategories2

Parameters

$class_category1

Return Value

bool

at line 178
bool getStockFind()

Get StockFind

Return Value

bool

at line 190
integer getStockMin()

Get Stock min

Return Value

integer

at line 202
integer getStockMax()

Get Stock max

Return Value

integer

at line 214
integer getStockUnlimitedMin()

Get StockUnlimited min

Return Value

integer

at line 226
integer getStockUnlimitedMax()

Get StockUnlimited max

Return Value

integer

at line 238
integer getPrice01Min()

Get Price01 min

Return Value

integer

at line 254
integer getPrice01Max()

Get Price01 max

Return Value

integer

at line 270
integer getPrice02Min()

Get Price02 min

Return Value

integer

at line 282
integer getPrice02Max()

Get Price02 max

Return Value

integer

at line 294
integer getPrice01IncTaxMin()

Get Price01IncTax min

Return Value

integer

at line 306
integer getPrice01IncTaxMax()

Get Price01IncTax max

Return Value

integer

at line 318
integer getPrice02IncTaxMin()

Get Price02IncTax min

Return Value

integer

at line 330
integer getPrice02IncTaxMax()

Get Price02IncTax max

Return Value

integer

at line 342
integer getCodeMin()

Get Product_code min

Return Value

integer

at line 360
integer getCodeMax()

Get Product_code max

Return Value

integer

at line 378
array getClassCategories()

Get ClassCategories

Return Value

array

at line 420
getMainListImage()

at line 503
__construct()

Constructor

at line 513
__clone()

at line 518
copy()

at line 563
integer getId()

Get id

Return Value

integer

at line 574
Product setName(string $name)

Set name

Parameters

string $name

Return Value

Product

at line 586
string getName()

Get name

Return Value

string

at line 597
Product setNote(string $note)

Set note

Parameters

string $note

Return Value

Product

at line 609
string getNote()

Get note

Return Value

string

at line 620
Product setDescriptionList(string $descriptionList)

Set description_list

Parameters

string $descriptionList

Return Value

Product

at line 632
string getDescriptionList()

Get description_list

Return Value

string

at line 643
Product setDescriptionDetail(string $descriptionDetail)

Set description_detail

Parameters

string $descriptionDetail

Return Value

Product

at line 655
string getDescriptionDetail()

Get description_detail

Return Value

string

at line 666
Product setSearchWord(string $searchWord)

Set search_word

Parameters

string $searchWord

Return Value

Product

at line 678
string getSearchWord()

Get search_word

Return Value

string

at line 689
Product setFreeArea(string $freeArea)

Set free_area

Parameters

string $freeArea

Return Value

Product

at line 701
string getFreeArea()

Get free_area

Return Value

string

at line 713
Product setDelFlg(integer $delFlg)

Set del_flg

Parameters

integer $delFlg

Return Value

Product

at line 725
integer getDelFlg()

Get del_flg

Return Value

integer

at line 736
Product setCreateDate(DateTime $createDate)

Set create_date

Parameters

DateTime $createDate

Return Value

Product

at line 748
DateTime getCreateDate()

Get create_date

Return Value

DateTime

at line 759
Product setUpdateDate(DateTime $updateDate)

Set update_date

Parameters

DateTime $updateDate

Return Value

Product

at line 771
DateTime getUpdateDate()

Get update_date

Return Value

DateTime

at line 782
Product addProductCategory(ProductCategory $productCategories)

Add ProductCategories

Parameters

ProductCategory $productCategories

Return Value

Product

at line 794
removeProductCategory(ProductCategory $productCategories)

Remove ProductCategories

Parameters

ProductCategory $productCategories

at line 804
Collection getProductCategories()

Get ProductCategories

Return Value

Collection

at line 815
Product addProductClass(ProductClass $productClasses)

Add ProductClasses

Parameters

ProductClass $productClasses

Return Value

Product

at line 827
removeProductClass(ProductClass $productClasses)

Remove ProductClasses

Parameters

ProductClass $productClasses

at line 837
Collection getProductClasses()

Get ProductClasses

Return Value

Collection

at line 842
hasProductClass()

at line 859
Product addCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)

Add CustomerFavoriteProducts

Parameters

CustomerFavoriteProduct $customerFavoriteProducts

Return Value

Product

at line 871
removeCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)

Remove CustomerFavoriteProducts

Parameters

CustomerFavoriteProduct $customerFavoriteProducts

at line 881
Collection getCustomerFavoriteProducts()

Get CustomerFavoriteProducts

Return Value

Collection

at line 892
Product setCreator(Member $creator)

Set Creator

Parameters

Member $creator

Return Value

Product

at line 904
Member getCreator()

Get Creator

Return Value

Member

at line 915
Product setStatus(Disp $status = null)

Set Status

Parameters

Disp $status

Return Value

Product

at line 927
Disp getStatus()

Get Status

Return Value

Disp

at line 949
Product addProductImage(ProductImage $productImage)

Add ProductImage

Parameters

ProductImage $productImage

Return Value

Product

at line 961
removeProductImage(ProductImage $productImage)

Remove ProductImage

Parameters

ProductImage $productImage

at line 971
Collection getProductImage()

Get ProductImage

Return Value

Collection

at line 976
getMainFileName()

at line 991
Product addProductTag(ProductTag $productTag)

Add ProductTag

Parameters

ProductTag $productTag

Return Value

Product

at line 1003
removeProductTag(ProductTag $productTag)

Remove ProductTag

Parameters

ProductTag $productTag

at line 1013
Collection getProductTag()

Get ProductTag

Return Value

Collection