PHP Class Sonata\CustomerBundle\Entity\BaseCustomer

Inheritance: implements Sonata\Component\Customer\CustomerInterface
Show file Open project: sonata-project/ecommerce

Protected Properties

Property Type Description
$addresses Doctrine\Common\Collections\ArrayCollection
$birthDate DateTime
$birthPlace string
$createdAt DateTime
$email string
$faxNumber string
$firstname string
$isFake boolean
$lastname string
$locale
$mobileNumber string
$orders Doctrine\Common\Collections\ArrayCollection
$phoneNumber string
$title string
$updatedAt DateTime
$user FOS\UserBundle\Model\UserInterface

Public Methods

Method Description
__construct ( )
__toString ( )
addAddress ( Sonata\Component\Customer\AddressInterface $address )
getAddresses ( )
getAddressesByType ( $type )
getAdminTitle ( )
getBirthDate ( )
getBirthPlace ( )
getCreatedAt ( )
getEmail ( )
getFaxNumber ( )
getFirstname ( )
getFullname ( )
getIsFake ( )
getLastname ( )
getLocale ( )
getMobileNumber ( )
getOrders ( )
getPhoneNumber ( )
getTitle ( )
getTitleName ( ) : string Get title name.
getTitlesList ( ) : array
getUpdatedAt ( )
getUser ( )
prePersist ( )
preUpdate ( )
setBirthDate ( DateTime $birthDate = null )
setBirthPlace ( $birthPlace )
setCreatedAt ( DateTime $createdAt = null )
setEmail ( $email )
setFaxNumber ( $faxNumber )
setFirstname ( $firstname )
setIsFake ( $isFake )
setLastname ( $lastname )
setLocale ( $locale )
setMobileNumber ( $mobileNumber )
setOrders ( $orders )
setPhoneNumber ( $phoneNumber )
setTitle ( $title )
setUpdatedAt ( DateTime $updatedAt = null )
setUser ( FOS\UserBundle\Model\UserInterface $user )

Method Details

__construct() public method

public __construct ( )

__toString() public method

public __toString ( )

addAddress() public method

public addAddress ( Sonata\Component\Customer\AddressInterface $address )
$address Sonata\Component\Customer\AddressInterface

getAddresses() public method

public getAddresses ( )

getAddressesByType() public method

public getAddressesByType ( $type )

getAdminTitle() public method

public getAdminTitle ( )

getBirthDate() public method

public getBirthDate ( )

getBirthPlace() public method

public getBirthPlace ( )

getCreatedAt() public method

public getCreatedAt ( )

getEmail() public method

public getEmail ( )

getFaxNumber() public method

public getFaxNumber ( )

getFirstname() public method

public getFirstname ( )

getFullname() public method

public getFullname ( )

getIsFake() public method

public getIsFake ( )

getLastname() public method

public getLastname ( )

getLocale() public method

public getLocale ( )

getMobileNumber() public method

public getMobileNumber ( )

getOrders() public method

public getOrders ( )

getPhoneNumber() public method

public getPhoneNumber ( )

getTitle() public method

public getTitle ( )

getTitleName() public method

Get title name.
public getTitleName ( ) : string
return string

getTitlesList() public static method

public static getTitlesList ( ) : array
return array

getUpdatedAt() public method

public getUpdatedAt ( )

getUser() public method

public getUser ( )

prePersist() public method

public prePersist ( )

preUpdate() public method

public preUpdate ( )

setBirthDate() public method

public setBirthDate ( DateTime $birthDate = null )
$birthDate DateTime

setBirthPlace() public method

public setBirthPlace ( $birthPlace )

setCreatedAt() public method

public setCreatedAt ( DateTime $createdAt = null )
$createdAt DateTime

setEmail() public method

public setEmail ( $email )

setFaxNumber() public method

public setFaxNumber ( $faxNumber )

setFirstname() public method

public setFirstname ( $firstname )

setIsFake() public method

public setIsFake ( $isFake )

setLastname() public method

public setLastname ( $lastname )

setLocale() public method

public setLocale ( $locale )

setMobileNumber() public method

public setMobileNumber ( $mobileNumber )

setOrders() public method

public setOrders ( $orders )

setPhoneNumber() public method

public setPhoneNumber ( $phoneNumber )

setTitle() public method

public setTitle ( $title )

setUpdatedAt() public method

public setUpdatedAt ( DateTime $updatedAt = null )
$updatedAt DateTime

setUser() public method

public setUser ( FOS\UserBundle\Model\UserInterface $user )
$user FOS\UserBundle\Model\UserInterface

Property Details

$addresses protected property

protected ArrayCollection,Doctrine\Common\Collections $addresses
return Doctrine\Common\Collections\ArrayCollection

$birthDate protected property

protected DateTime $birthDate
return DateTime

$birthPlace protected property

protected string $birthPlace
return string

$createdAt protected property

protected DateTime $createdAt
return DateTime

$email protected property

protected string $email
return string

$faxNumber protected property

protected string $faxNumber
return string

$firstname protected property

protected string $firstname
return string

$isFake protected property

protected bool $isFake
return boolean

$lastname protected property

protected string $lastname
return string

$locale protected property

protected $locale

$mobileNumber protected property

protected string $mobileNumber
return string

$orders protected property

protected ArrayCollection,Doctrine\Common\Collections $orders
return Doctrine\Common\Collections\ArrayCollection

$phoneNumber protected property

protected string $phoneNumber
return string

$title protected property

protected string $title
return string

$updatedAt protected property

protected DateTime $updatedAt
return DateTime

$user protected property

protected UserInterface,FOS\UserBundle\Model $user
return FOS\UserBundle\Model\UserInterface