PHP 클래스 Eccube\Entity\Customer

@UniqueEntity("email")
상속: extends Eccube\Entity\AbstractEntity, implements Symfony\Component\Security\Core\User\UserInterface
파일 보기 프로젝트 열기: ec-cube/ec-cube 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) Constructor
__toString ( ) : string
addCustomerAddress ( CustomerAddress $customerAddresses ) : Customer Add CustomerAddresses
addCustomerAddresses ( CustomerAddress $CustomerAddress ) : Customer Add CustomerAddress
addCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) : Customer Add CustomerFavoriteProducts
addOrder ( Order $order ) : Customer Add Orders
eraseCredentials ( )
getAddr01 ( ) : string Get addr01
getAddr02 ( ) : string Get addr02
getBirth ( ) : DateTime Get birth
getBuyTimes ( ) : string Get buy_times
getBuyTotal ( ) : string Get buy_total
getCompanyName ( ) : string Get company_name
getCountry ( ) : Eccube\Entity\Master\Country Get Country
getCreateDate ( ) : DateTime Get create_date
getCustomerAddresses ( ) : Doctrine\Common\Collections\Collection Get CustomerAddresses
getCustomerFavoriteProducts ( ) : Doctrine\Common\Collections\Collection Get CustomerFavoriteProducts
getDelFlg ( ) : integer Get del_flg
getEmail ( ) : string Get email
getFax01 ( ) : string Get fax01
getFax02 ( ) : string Get fax02
getFax03 ( ) : string Get fax03
getFirstBuyDate ( ) : DateTime Get first_buy_date
getId ( ) : integer Get id
getJob ( ) : Eccube\Entity\Master\Job Get Job
getKana01 ( ) : string Get kana01
getKana02 ( ) : string Get kana02
getLastBuyDate ( ) : DateTime Get last_buy_date
getName01 ( ) : string Get name01
getName02 ( ) : string Get name02
getNote ( ) : string Get note
getOrders ( ) : Doctrine\Common\Collections\Collection Get Orders
getPassword ( ) : string Get password
getPref ( ) : Eccube\Entity\Master\Pref Get Pref
getResetExpire ( ) : DateTime Get resetExpire
getResetKey ( ) : string Get resetKey
getRoles ( )
getSalt ( ) : string Get salt
getSecretKey ( ) : string Get secret_key
getSex ( ) : Eccube\Entity\Master\Sex Get Sex
getStatus ( ) : Eccube\Entity\Master\CustomerStatus Get Status
getTel01 ( ) : string Get tel01
getTel02 ( ) : string Get tel02
getTel03 ( ) : string Get tel03
getUpdateDate ( ) : DateTime Get update_date
getUsername ( )
getZip01 ( ) : string Get zip01
getZip02 ( ) : string Get zip02
getZipcode ( ) : string Get zipcode
loadValidatorMetadata ( Symfony\Component\Validator\Mapping\ClassMetadata $metadata ) TODO: できればFormTypeで行いたい
removeCustomerAddress ( CustomerAddress $CustomerAddress ) Remove CustomerAddresses
removeCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) Remove CustomerFavoriteProducts
removeOrder ( Order $order ) Remove Orders
setAddr01 ( string $addr01 ) : Customer Set addr01
setAddr02 ( string $addr02 ) : Customer Set addr02
setBirth ( DateTime $birth ) : Customer Set birth
setBuyTimes ( string $buyTimes ) : Customer Set buy_times
setBuyTotal ( string $buyTotal ) : Customer Set buy_total
setCompanyName ( string $companyName ) : Customer Set company_name
setCountry ( Eccube\Entity\Master\Country $country = null ) : Customer Set Country
setCreateDate ( DateTime $createDate ) : Customer Set create_date
setDelFlg ( integer $delFlg ) : Customer Set del_flg
setEmail ( string $email ) : Customer Set email
setFax01 ( string $fax01 ) : Customer Set fax01
setFax02 ( string $fax02 ) : Customer Set fax02
setFax03 ( string $fax03 ) : Customer Set fax03
setFirstBuyDate ( DateTime $firstBuyDate ) : Customer Set first_buy_date
setJob ( Eccube\Entity\Master\Job $job = null ) : Customer Set Job
setKana01 ( string $kana01 ) : Customer Set kana01
setKana02 ( string $kana02 ) : Customer Set kana02
setLastBuyDate ( DateTime $lastBuyDate ) : Customer Set last_buy_date
setName01 ( string $name01 ) : Customer Set name01
setName02 ( string $name02 ) : Customer Set name02
setNote ( string $note ) : Customer Set note
setPassword ( string $password ) : Customer Set password
setPref ( Eccube\Entity\Master\Pref $pref = null ) : Customer Set Pref
setResetExpire ( DateTime $resetExpire ) : Customer Set resetExpire
setResetKey ( string $resetKey ) : Customer Set resetKey
setSalt ( string $salt ) : Customer Set salt
setSecretKey ( string $secretKey ) : Customer Set secret_key
setSex ( Eccube\Entity\Master\Sex $sex = null ) : Customer Set Sex
setStatus ( Eccube\Entity\Master\CustomerStatus $status = null ) : Customer Set Status
setTel01 ( string $tel01 ) : Customer Set tel01
setTel02 ( string $tel02 ) : Customer Set tel02
setTel03 ( string $tel03 ) : Customer Set tel03
setUpdateDate ( DateTime $updateDate ) : Customer Set update_date
setZip01 ( string $zip01 ) : Customer Set zip01
setZip02 ( string $zip02 ) : Customer Set zip02
setZipcode ( string $zipcode ) : Customer Set zipcode

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

addCustomerAddress() 공개 메소드

Add CustomerAddresses
public addCustomerAddress ( CustomerAddress $customerAddresses ) : Customer
$customerAddresses CustomerAddress
리턴 Customer

addCustomerAddresses() 공개 메소드

Add CustomerAddress
public addCustomerAddresses ( CustomerAddress $CustomerAddress ) : Customer
$CustomerAddress CustomerAddress
리턴 Customer

addCustomerFavoriteProduct() 공개 메소드

Add CustomerFavoriteProducts
public addCustomerFavoriteProduct ( Eccube\Entity\CustomerFavoriteProduct $customerFavoriteProducts ) : Customer
$customerFavoriteProducts Eccube\Entity\CustomerFavoriteProduct
리턴 Customer

addOrder() 공개 메소드

Add Orders
public addOrder ( Order $order ) : Customer
$order Order
리턴 Customer

eraseCredentials() 공개 메소드

public eraseCredentials ( )

getAddr01() 공개 메소드

Get addr01
public getAddr01 ( ) : string
리턴 string

getAddr02() 공개 메소드

Get addr02
public getAddr02 ( ) : string
리턴 string

getBirth() 공개 메소드

Get birth
public getBirth ( ) : DateTime
리턴 DateTime

getBuyTimes() 공개 메소드

Get buy_times
public getBuyTimes ( ) : string
리턴 string

getBuyTotal() 공개 메소드

Get buy_total
public getBuyTotal ( ) : string
리턴 string

getCompanyName() 공개 메소드

Get company_name
public getCompanyName ( ) : string
리턴 string

getCountry() 공개 메소드

Get Country
public getCountry ( ) : Eccube\Entity\Master\Country
리턴 Eccube\Entity\Master\Country

getCreateDate() 공개 메소드

Get create_date
public getCreateDate ( ) : DateTime
리턴 DateTime

getCustomerAddresses() 공개 메소드

Get CustomerAddresses
public getCustomerAddresses ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getCustomerFavoriteProducts() 공개 메소드

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

getDelFlg() 공개 메소드

Get del_flg
public getDelFlg ( ) : integer
리턴 integer

getEmail() 공개 메소드

Get email
public getEmail ( ) : string
리턴 string

getFax01() 공개 메소드

Get fax01
public getFax01 ( ) : string
리턴 string

getFax02() 공개 메소드

Get fax02
public getFax02 ( ) : string
리턴 string

getFax03() 공개 메소드

Get fax03
public getFax03 ( ) : string
리턴 string

getFirstBuyDate() 공개 메소드

Get first_buy_date
public getFirstBuyDate ( ) : DateTime
리턴 DateTime

getId() 공개 메소드

Get id
public getId ( ) : integer
리턴 integer

getJob() 공개 메소드

Get Job
public getJob ( ) : Eccube\Entity\Master\Job
리턴 Eccube\Entity\Master\Job

getKana01() 공개 메소드

Get kana01
public getKana01 ( ) : string
리턴 string

getKana02() 공개 메소드

Get kana02
public getKana02 ( ) : string
리턴 string

getLastBuyDate() 공개 메소드

Get last_buy_date
public getLastBuyDate ( ) : DateTime
리턴 DateTime

getName01() 공개 메소드

Get name01
public getName01 ( ) : string
리턴 string

getName02() 공개 메소드

Get name02
public getName02 ( ) : string
리턴 string

getNote() 공개 메소드

Get note
public getNote ( ) : string
리턴 string

getOrders() 공개 메소드

Get Orders
public getOrders ( ) : Doctrine\Common\Collections\Collection
리턴 Doctrine\Common\Collections\Collection

getPassword() 공개 메소드

Get password
public getPassword ( ) : string
리턴 string

getPref() 공개 메소드

Get Pref
public getPref ( ) : Eccube\Entity\Master\Pref
리턴 Eccube\Entity\Master\Pref

getResetExpire() 공개 메소드

Get resetExpire
public getResetExpire ( ) : DateTime
리턴 DateTime

getResetKey() 공개 메소드

Get resetKey
public getResetKey ( ) : string
리턴 string

getRoles() 공개 메소드

public getRoles ( )

getSalt() 공개 메소드

Get salt
public getSalt ( ) : string
리턴 string

getSecretKey() 공개 메소드

Get secret_key
public getSecretKey ( ) : string
리턴 string

getSex() 공개 메소드

Get Sex
public getSex ( ) : Eccube\Entity\Master\Sex
리턴 Eccube\Entity\Master\Sex

getStatus() 공개 메소드

Get Status
public getStatus ( ) : Eccube\Entity\Master\CustomerStatus
리턴 Eccube\Entity\Master\CustomerStatus

getTel01() 공개 메소드

Get tel01
public getTel01 ( ) : string
리턴 string

getTel02() 공개 메소드

Get tel02
public getTel02 ( ) : string
리턴 string

getTel03() 공개 메소드

Get tel03
public getTel03 ( ) : string
리턴 string

getUpdateDate() 공개 메소드

Get update_date
public getUpdateDate ( ) : DateTime
리턴 DateTime

getUsername() 공개 메소드

public getUsername ( )

getZip01() 공개 메소드

Get zip01
public getZip01 ( ) : string
리턴 string

getZip02() 공개 메소드

Get zip02
public getZip02 ( ) : string
리턴 string

getZipcode() 공개 메소드

Get zipcode
public getZipcode ( ) : string
리턴 string

loadValidatorMetadata() 공개 정적인 메소드

TODO: できればFormTypeで行いたい
public static loadValidatorMetadata ( Symfony\Component\Validator\Mapping\ClassMetadata $metadata )
$metadata Symfony\Component\Validator\Mapping\ClassMetadata

removeCustomerAddress() 공개 메소드

Remove CustomerAddresses
public removeCustomerAddress ( CustomerAddress $CustomerAddress )
$CustomerAddress CustomerAddress

removeCustomerFavoriteProduct() 공개 메소드

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

removeOrder() 공개 메소드

Remove Orders
public removeOrder ( Order $order )
$order Order

setAddr01() 공개 메소드

Set addr01
public setAddr01 ( string $addr01 ) : Customer
$addr01 string
리턴 Customer

setAddr02() 공개 메소드

Set addr02
public setAddr02 ( string $addr02 ) : Customer
$addr02 string
리턴 Customer

setBirth() 공개 메소드

Set birth
public setBirth ( DateTime $birth ) : Customer
$birth DateTime
리턴 Customer

setBuyTimes() 공개 메소드

Set buy_times
public setBuyTimes ( string $buyTimes ) : Customer
$buyTimes string
리턴 Customer

setBuyTotal() 공개 메소드

Set buy_total
public setBuyTotal ( string $buyTotal ) : Customer
$buyTotal string
리턴 Customer

setCompanyName() 공개 메소드

Set company_name
public setCompanyName ( string $companyName ) : Customer
$companyName string
리턴 Customer

setCountry() 공개 메소드

Set Country
public setCountry ( Eccube\Entity\Master\Country $country = null ) : Customer
$country Eccube\Entity\Master\Country
리턴 Customer

setCreateDate() 공개 메소드

Set create_date
public setCreateDate ( DateTime $createDate ) : Customer
$createDate DateTime
리턴 Customer

setDelFlg() 공개 메소드

Set del_flg
public setDelFlg ( integer $delFlg ) : Customer
$delFlg integer
리턴 Customer

setEmail() 공개 메소드

Set email
public setEmail ( string $email ) : Customer
$email string
리턴 Customer

setFax01() 공개 메소드

Set fax01
public setFax01 ( string $fax01 ) : Customer
$fax01 string
리턴 Customer

setFax02() 공개 메소드

Set fax02
public setFax02 ( string $fax02 ) : Customer
$fax02 string
리턴 Customer

setFax03() 공개 메소드

Set fax03
public setFax03 ( string $fax03 ) : Customer
$fax03 string
리턴 Customer

setFirstBuyDate() 공개 메소드

Set first_buy_date
public setFirstBuyDate ( DateTime $firstBuyDate ) : Customer
$firstBuyDate DateTime
리턴 Customer

setJob() 공개 메소드

Set Job
public setJob ( Eccube\Entity\Master\Job $job = null ) : Customer
$job Eccube\Entity\Master\Job
리턴 Customer

setKana01() 공개 메소드

Set kana01
public setKana01 ( string $kana01 ) : Customer
$kana01 string
리턴 Customer

setKana02() 공개 메소드

Set kana02
public setKana02 ( string $kana02 ) : Customer
$kana02 string
리턴 Customer

setLastBuyDate() 공개 메소드

Set last_buy_date
public setLastBuyDate ( DateTime $lastBuyDate ) : Customer
$lastBuyDate DateTime
리턴 Customer

setName01() 공개 메소드

Set name01
public setName01 ( string $name01 ) : Customer
$name01 string
리턴 Customer

setName02() 공개 메소드

Set name02
public setName02 ( string $name02 ) : Customer
$name02 string
리턴 Customer

setNote() 공개 메소드

Set note
public setNote ( string $note ) : Customer
$note string
리턴 Customer

setPassword() 공개 메소드

Set password
public setPassword ( string $password ) : Customer
$password string
리턴 Customer

setPref() 공개 메소드

Set Pref
public setPref ( Eccube\Entity\Master\Pref $pref = null ) : Customer
$pref Eccube\Entity\Master\Pref
리턴 Customer

setResetExpire() 공개 메소드

Set resetExpire
public setResetExpire ( DateTime $resetExpire ) : Customer
$resetExpire DateTime
리턴 Customer

setResetKey() 공개 메소드

Set resetKey
public setResetKey ( string $resetKey ) : Customer
$resetKey string
리턴 Customer

setSalt() 공개 메소드

Set salt
public setSalt ( string $salt ) : Customer
$salt string
리턴 Customer

setSecretKey() 공개 메소드

Set secret_key
public setSecretKey ( string $secretKey ) : Customer
$secretKey string
리턴 Customer

setSex() 공개 메소드

Set Sex
public setSex ( Eccube\Entity\Master\Sex $sex = null ) : Customer
$sex Eccube\Entity\Master\Sex
리턴 Customer

setStatus() 공개 메소드

Set Status
public setStatus ( Eccube\Entity\Master\CustomerStatus $status = null ) : Customer
$status Eccube\Entity\Master\CustomerStatus
리턴 Customer

setTel01() 공개 메소드

Set tel01
public setTel01 ( string $tel01 ) : Customer
$tel01 string
리턴 Customer

setTel02() 공개 메소드

Set tel02
public setTel02 ( string $tel02 ) : Customer
$tel02 string
리턴 Customer

setTel03() 공개 메소드

Set tel03
public setTel03 ( string $tel03 ) : Customer
$tel03 string
리턴 Customer

setUpdateDate() 공개 메소드

Set update_date
public setUpdateDate ( DateTime $updateDate ) : Customer
$updateDate DateTime
리턴 Customer

setZip01() 공개 메소드

Set zip01
public setZip01 ( string $zip01 ) : Customer
$zip01 string
리턴 Customer

setZip02() 공개 메소드

Set zip02
public setZip02 ( string $zip02 ) : Customer
$zip02 string
리턴 Customer

setZipcode() 공개 메소드

Set zipcode
public setZipcode ( string $zipcode ) : Customer
$zipcode string
리턴 Customer