Customer
class Customer extends AbstractEntity implements UserInterface
Customer
@UniqueEntity("email")
Methods
引数の連想配列を元にプロパティを設定します.
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
Constructor
No description
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
No description
Get id
Get name01
Get name02
Get kana01
Get kana02
Set company_name
Get company_name
Get zip01
Get zip02
Set zipcode
Get addr01
Get addr02
Get email
Get tel01
Get tel02
Get tel03
Get fax01
Get fax02
Get fax03
Set password
Get password
Get salt
Set secret_key
Get secret_key
Get firstbuydate
Get lastbuydate
Set buy_times
Get buy_times
Set buy_total
Get buy_total
Get note
Set resetKey
Get resetKey
Get resetExpire
Get Status
Get create_date
Get update_date
Get del_flg
Add CustomerFavoriteProducts
Remove CustomerFavoriteProducts
Get CustomerFavoriteProducts
Get Orders
Get CustomerAddresses
Get Country
Get zipcode
Details
in AbstractEntity at line 32
offsetExists($offset)
in AbstractEntity at line 39
offsetSet($offset, $value)
in AbstractEntity at line 43
offsetGet($offset)
in AbstractEntity at line 54
offsetUnset($offset)
in AbstractEntity at line 66
setPropertiesFromArray(array $arrProps, array $excludeAttribute = array(), ReflectionClass $parentClass = null)
引数の連想配列を元にプロパティを設定します.
DBから取り出した連想配列を, プロパティへ設定する際に使用します.
in AbstractEntity at line 99
array
toArray(array $excludeAttribute = array(), ReflectionClass $parentClass = null)
プロパティの値を連想配列で返します.
DBを更新する場合などで, 連想配列の値を取得したい場合に使用します.
in AbstractEntity at line 139
object
copyProperties(object $srcObject, array $excludeAttribute = array())
コピー元のオブジェクトのフィールド名を指定して、同名のフィールドに値をコピー
at line 243
__construct()
Constructor
at line 257
string
__toString()
at line 265
getRoles()
{@inheritdoc}
at line 273
getUsername()
{@inheritdoc}
at line 281
eraseCredentials()
{@inheritdoc}
at line 286
static
loadValidatorMetadata(ClassMetadata $metadata)
at line 299
integer
getId()
Get id
at line 310
Customer
setName01(string $name01)
Set name01
at line 322
string
getName01()
Get name01
at line 333
Customer
setName02(string $name02)
Set name02
at line 345
string
getName02()
Get name02
at line 356
Customer
setKana01(string $kana01)
Set kana01
at line 368
string
getKana01()
Get kana01
at line 379
Customer
setKana02(string $kana02)
Set kana02
at line 391
string
getKana02()
Get kana02
at line 402
Customer
setCompanyName(string $companyName)
Set company_name
at line 414
string
getCompanyName()
Get company_name
at line 425
Customer
setZip01(string $zip01)
Set zip01
at line 437
string
getZip01()
Get zip01
at line 448
Customer
setZip02(string $zip02)
Set zip02
at line 460
string
getZip02()
Get zip02
at line 471
Customer
setZipcode(string $zipcode)
Set zipcode
at line 484
Customer
setAddr01(string $addr01)
Set addr01
at line 496
string
getAddr01()
Get addr01
at line 507
Customer
setAddr02(string $addr02)
Set addr02
at line 519
string
getAddr02()
Get addr02
at line 530
Customer
setEmail(string $email)
Set email
at line 542
string
getEmail()
Get email
at line 554
Customer
setTel01(string $tel01)
Set tel01
at line 566
string
getTel01()
Get tel01
at line 577
Customer
setTel02(string $tel02)
Set tel02
at line 589
string
getTel02()
Get tel02
at line 600
Customer
setTel03(string $tel03)
Set tel03
at line 612
string
getTel03()
Get tel03
at line 623
Customer
setFax01(string $fax01)
Set fax01
at line 635
string
getFax01()
Get fax01
at line 646
Customer
setFax02(string $fax02)
Set fax02
at line 658
string
getFax02()
Get fax02
at line 669
Customer
setFax03(string $fax03)
Set fax03
at line 681
string
getFax03()
Get fax03
at line 704
DateTime
getBirth()
Get birth
at line 715
Customer
setPassword(string $password)
Set password
at line 727
string
getPassword()
Get password
at line 738
Customer
setSalt(string $salt)
Set salt
at line 750
string
getSalt()
Get salt
at line 761
Customer
setSecretKey(string $secretKey)
Set secret_key
at line 773
string
getSecretKey()
Get secret_key
at line 796
DateTime
getFirstBuyDate()
Get firstbuydate
at line 819
DateTime
getLastBuyDate()
Get lastbuydate
at line 830
Customer
setBuyTimes(string $buyTimes)
Set buy_times
at line 842
string
getBuyTimes()
Get buy_times
at line 853
Customer
setBuyTotal(string $buyTotal)
Set buy_total
at line 865
string
getBuyTotal()
Get buy_total
at line 876
Customer
setNote(string $note)
Set note
at line 888
string
getNote()
Get note
at line 899
Customer
setResetKey(string $resetKey)
Set resetKey
at line 911
string
getResetKey()
Get resetKey
at line 934
DateTime
getResetExpire()
Get resetExpire
at line 945
Customer
setStatus(CustomerStatus $status = null)
Set Status
at line 957
CustomerStatus
getStatus()
Get Status
at line 980
DateTime
getCreateDate()
Get create_date
at line 1003
DateTime
getUpdateDate()
Get update_date
at line 1014
Customer
setDelFlg(integer $delFlg)
Set del_flg
at line 1026
integer
getDelFlg()
Get del_flg
at line 1037
Customer
addCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)
Add CustomerFavoriteProducts
at line 1049
removeCustomerFavoriteProduct(CustomerFavoriteProduct $customerFavoriteProducts)
Remove CustomerFavoriteProducts
at line 1059
Collection
getCustomerFavoriteProducts()
Get CustomerFavoriteProducts
at line 1082
removeOrder(Order $order)
Remove Orders
at line 1092
Collection
getOrders()
Get Orders
at line 1103
Customer
addCustomerAddresses(CustomerAddress $CustomerAddress)
Add CustomerAddress
at line 1115
removeCustomerAddress(CustomerAddress $CustomerAddress)
Remove CustomerAddresses
at line 1125
Collection
getCustomerAddresses()
Get CustomerAddresses
at line 1148
Sex
getSex()
Get Sex
at line 1171
Job
getJob()
Get Job
at line 1194
Country
getCountry()
Get Country
at line 1217
Pref
getPref()
Get Pref
at line 1227
string
getZipcode()
Get zipcode
at line 1238
Customer
addCustomerAddress(CustomerAddress $customerAddresses)
Add CustomerAddresses