PHP Class Eccube\Entity\Product

Inheritance: extends Eccube\Entity\AbstractEntity
Exibir arquivo Open project: ec-cube/ec-cube Class Usage Examples

Public Methods

Method Description
__clone ( )
__construct ( ) Constructor
__toString ( ) : string
_calc ( )
addCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) : Product Add CustomerFavoriteProducts
addProductCategory ( Eccube\Entity\ProductCategory $productCategories ) : Product Add ProductCategories
addProductClass ( Eccube\Entity\ProductClass $productClasses ) : Product Add ProductClasses
addProductImage ( Eccube\Entity\ProductImage $productImage ) : Product Add ProductImage
addProductTag ( ProductTag $productTag ) : Product Add ProductTag
copy ( )
getClassCategories ( ) : array Get ClassCategories
getClassCategories1 ( ) : boolean Get getClassCategories1
getClassCategories2 ( $class_category1 ) : boolean Get getClassCategories2
getClassName1 ( ) : boolean Get ClassName1
getClassName2 ( ) : boolean Get ClassName2
getCodeMax ( ) : integer Get Product_code max
getCodeMin ( ) : integer Get Product_code min
getCreateDate ( ) : DateTime Get create_date
getCreator ( ) : Eccube\Entity\Member Get Creator
getCustomerFavoriteProducts ( ) : Doctrine\Common\Collections\Collection Get CustomerFavoriteProducts
getDelFlg ( ) : integer Get del_flg
getDescriptionDetail ( ) : string Get description_detail
getDescriptionList ( ) : string Get description_list
getFreeArea ( ) : string Get free_area
getId ( ) : integer Get id
getMainFileName ( )
getMainListImage ( )
getName ( ) : string Get name
getNote ( ) : string Get note
getPrice01IncTaxMax ( ) : integer Get Price01IncTax max
getPrice01IncTaxMin ( ) : integer Get Price01IncTax min
getPrice01Max ( ) : integer Get Price01 max
getPrice01Min ( ) : integer Get Price01 min
getPrice02IncTaxMax ( ) : integer Get Price02IncTax max
getPrice02IncTaxMin ( ) : integer Get Price02IncTax min
getPrice02Max ( ) : integer Get Price02 max
getPrice02Min ( ) : integer Get Price02 min
getProductCategories ( ) : Doctrine\Common\Collections\Collection Get ProductCategories
getProductClasses ( ) : Doctrine\Common\Collections\Collection Get ProductClasses
getProductImage ( ) : Doctrine\Common\Collections\Collection Get ProductImage
getProductTag ( ) : Doctrine\Common\Collections\Collection Get ProductTag
getSearchWord ( ) : string Get search_word
getStatus ( ) : Eccube\Entity\Master\Disp Get Status
getStockFind ( ) : boolean Get StockFind
getStockMax ( ) : integer Get Stock max
getStockMin ( ) : integer Get Stock min
getStockUnlimitedMax ( ) : integer Get StockUnlimited max
getStockUnlimitedMin ( ) : integer Get StockUnlimited min
getUpdateDate ( ) : DateTime Get update_date
hasProductClass ( )
isEnable ( ) : boolean Is Enable
removeCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) Remove CustomerFavoriteProducts
removeProductCategory ( Eccube\Entity\ProductCategory $productCategories ) Remove ProductCategories
removeProductClass ( Eccube\Entity\ProductClass $productClasses ) Remove ProductClasses
removeProductImage ( Eccube\Entity\ProductImage $productImage ) Remove ProductImage
removeProductTag ( ProductTag $productTag ) Remove ProductTag
setCreateDate ( DateTime $createDate ) : Product Set create_date
setCreator ( Eccube\Entity\Member $creator ) : Product Set Creator
setDelFlg ( integer $delFlg ) : Product Set del_flg
setDescriptionDetail ( string $descriptionDetail ) : Product Set description_detail
setDescriptionList ( string $descriptionList ) : Product Set description_list
setFreeArea ( string $freeArea ) : Product Set free_area
setName ( string $name ) : Product Set name
setNote ( string $note ) : Product Set note
setSearchWord ( string $searchWord ) : Product Set search_word
setStatus ( Eccube\Entity\Master\Disp $status = null ) : Product Set Status
setUpdateDate ( DateTime $updateDate ) : Product Set update_date

Method Details

__clone() public method

public __clone ( )

__construct() public method

Constructor
public __construct ( )

__toString() public method

public __toString ( ) : string
return string

_calc() public method

public _calc ( )

addCustomerFavoriteProduct() public method

Add CustomerFavoriteProducts
public addCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) : Product
$customerFavoriteProducts Eccube\Entity\CustomerFavoriteProduct
return Product

addProductCategory() public method

Add ProductCategories
public addProductCategory ( Eccube\Entity\ProductCategory $productCategories ) : Product
$productCategories Eccube\Entity\ProductCategory
return Product

addProductClass() public method

Add ProductClasses
public addProductClass ( Eccube\Entity\ProductClass $productClasses ) : Product
$productClasses Eccube\Entity\ProductClass
return Product

addProductImage() public method

Add ProductImage
public addProductImage ( Eccube\Entity\ProductImage $productImage ) : Product
$productImage Eccube\Entity\ProductImage
return Product

addProductTag() public method

Add ProductTag
public addProductTag ( ProductTag $productTag ) : Product
$productTag ProductTag
return Product

copy() public method

public copy ( )

getClassCategories() public method

Get ClassCategories
public getClassCategories ( ) : array
return array

getClassCategories1() public method

Get getClassCategories1
public getClassCategories1 ( ) : boolean
return boolean

getClassCategories2() public method

Get getClassCategories2
public getClassCategories2 ( $class_category1 ) : boolean
return boolean

getClassName1() public method

Get ClassName1
public getClassName1 ( ) : boolean
return boolean

getClassName2() public method

Get ClassName2
public getClassName2 ( ) : boolean
return boolean

getCodeMax() public method

Get Product_code max
public getCodeMax ( ) : integer
return integer

getCodeMin() public method

Get Product_code min
public getCodeMin ( ) : integer
return integer

getCreateDate() public method

Get create_date
public getCreateDate ( ) : DateTime
return DateTime

getCreator() public method

Get Creator
public getCreator ( ) : Eccube\Entity\Member
return Eccube\Entity\Member

getCustomerFavoriteProducts() public method

Get CustomerFavoriteProducts
public getCustomerFavoriteProducts ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getDelFlg() public method

Get del_flg
public getDelFlg ( ) : integer
return integer

getDescriptionDetail() public method

Get description_detail
public getDescriptionDetail ( ) : string
return string

getDescriptionList() public method

Get description_list
public getDescriptionList ( ) : string
return string

getFreeArea() public method

Get free_area
public getFreeArea ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getMainFileName() public method

public getMainFileName ( )

getMainListImage() public method

public getMainListImage ( )

getName() public method

Get name
public getName ( ) : string
return string

getNote() public method

Get note
public getNote ( ) : string
return string

getPrice01IncTaxMax() public method

Get Price01IncTax max
public getPrice01IncTaxMax ( ) : integer
return integer

getPrice01IncTaxMin() public method

Get Price01IncTax min
public getPrice01IncTaxMin ( ) : integer
return integer

getPrice01Max() public method

Get Price01 max
public getPrice01Max ( ) : integer
return integer

getPrice01Min() public method

Get Price01 min
public getPrice01Min ( ) : integer
return integer

getPrice02IncTaxMax() public method

Get Price02IncTax max
public getPrice02IncTaxMax ( ) : integer
return integer

getPrice02IncTaxMin() public method

Get Price02IncTax min
public getPrice02IncTaxMin ( ) : integer
return integer

getPrice02Max() public method

Get Price02 max
public getPrice02Max ( ) : integer
return integer

getPrice02Min() public method

Get Price02 min
public getPrice02Min ( ) : integer
return integer

getProductCategories() public method

Get ProductCategories
public getProductCategories ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getProductClasses() public method

Get ProductClasses
public getProductClasses ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getProductImage() public method

Get ProductImage
public getProductImage ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getProductTag() public method

Get ProductTag
public getProductTag ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getSearchWord() public method

Get search_word
public getSearchWord ( ) : string
return string

getStatus() public method

Get Status
public getStatus ( ) : Eccube\Entity\Master\Disp
return Eccube\Entity\Master\Disp

getStockFind() public method

Get StockFind
public getStockFind ( ) : boolean
return boolean

getStockMax() public method

Get Stock max
public getStockMax ( ) : integer
return integer

getStockMin() public method

Get Stock min
public getStockMin ( ) : integer
return integer

getStockUnlimitedMax() public method

Get StockUnlimited max
public getStockUnlimitedMax ( ) : integer
return integer

getStockUnlimitedMin() public method

Get StockUnlimited min
public getStockUnlimitedMin ( ) : integer
return integer

getUpdateDate() public method

Get update_date
public getUpdateDate ( ) : DateTime
return DateTime

hasProductClass() public method

public hasProductClass ( )

isEnable() public method

Is Enable
public isEnable ( ) : boolean
return boolean

removeCustomerFavoriteProduct() public method

Remove CustomerFavoriteProducts
public removeCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts )
$customerFavoriteProducts Eccube\Entity\CustomerFavoriteProduct

removeProductCategory() public method

Remove ProductCategories
public removeProductCategory ( Eccube\Entity\ProductCategory $productCategories )
$productCategories Eccube\Entity\ProductCategory

removeProductClass() public method

Remove ProductClasses
public removeProductClass ( Eccube\Entity\ProductClass $productClasses )
$productClasses Eccube\Entity\ProductClass

removeProductImage() public method

Remove ProductImage
public removeProductImage ( Eccube\Entity\ProductImage $productImage )
$productImage Eccube\Entity\ProductImage

removeProductTag() public method

Remove ProductTag
public removeProductTag ( ProductTag $productTag )
$productTag ProductTag

setCreateDate() public method

Set create_date
public setCreateDate ( DateTime $createDate ) : Product
$createDate DateTime
return Product

setCreator() public method

Set Creator
public setCreator ( Eccube\Entity\Member $creator ) : Product
$creator Eccube\Entity\Member
return Product

setDelFlg() public method

Set del_flg
public setDelFlg ( integer $delFlg ) : Product
$delFlg integer
return Product

setDescriptionDetail() public method

Set description_detail
public setDescriptionDetail ( string $descriptionDetail ) : Product
$descriptionDetail string
return Product

setDescriptionList() public method

Set description_list
public setDescriptionList ( string $descriptionList ) : Product
$descriptionList string
return Product

setFreeArea() public method

Set free_area
public setFreeArea ( string $freeArea ) : Product
$freeArea string
return Product

setName() public method

Set name
public setName ( string $name ) : Product
$name string
return Product

setNote() public method

Set note
public setNote ( string $note ) : Product
$note string
return Product

setSearchWord() public method

Set search_word
public setSearchWord ( string $searchWord ) : Product
$searchWord string
return Product

setStatus() public method

Set Status
public setStatus ( Eccube\Entity\Master\Disp $status = null ) : Product
$status Eccube\Entity\Master\Disp
return Product

setUpdateDate() public method

Set update_date
public setUpdateDate ( DateTime $updateDate ) : Product
$updateDate DateTime
return Product