class User extends Base

Class User

Properties

static string $pimcoreClass Pimcore Object Class.

Methods

static  string
getPimcoreObjectClass()

get Pimcore implementation class.

from Base
static  Base
create()

Create new instance of Pimcore Object.

from Base
static  int
classId()

returns the class ID of the current object class.

from Base
static  Listing
getList( array $config = array())

No description

from Base
static  Data[]
getMandatoryFields()

No description

from Base
static 
validate($data)

No description

from Base
static  mixed|null
__callStatic($method, $arguments)

No description

from Base
array
toArray()

Object to Array.

from Base
string
getCacheKey()

get cache key

from Base
AdminStyle
getElementAdminStyle()

Admin Element Style.

from Base
save()

No description

from Base
Note
createNote($type)

Create a note for this object.

from Base
AbstractObject
getVariantMaster()

Return Topmost Master if Object is Variant

from Base
bool
isAllowedForShop( Shop $shop)

No description

from Base
bool|string
getUrl($language, $params = array(), $route, bool $reset = false, Shop $shop = null)

No description

from Base
static  bool
getUniqueByEmail($email, $isGuest = false)

Get User by E-Mail.

static  User|bool
getGuestByEmail($email)

Get Guest by email.

static  User|bool
getUserByEmail($email)

Get User by email.

Folder
getPathForAddresses()

get folder for order

bool
authenticate($password)

Auth User.

bool
findAddressByName($name)

Get User address by Name.

array
getOrders()

Get User Orders.

Cart[]
getCarts()

Get User Carts

bool
getLatestCart()

Get Users latest Cart.

bool
isInGroup( Group $group)

Check if user is in group.

string
getFirstname()

No description

setFirstname( string $firstname)

No description

string
getLastname()

No description

setLastname( string $lastname)

No description

string
getGender()

No description

setGender( string $gender)

No description

Group[]
getCustomerGroups()

No description

setCustomerGroups( Group[] $customerGroups)

No description

string
getEmail()

No description

setEmail( string $email)

No description

string
getPassword()

No description

setPassword( string $password)

No description

mixed
getAddresses()

No description

setAddresses( mixed $addresses)

No description

boolean
getNewsletterActive()

No description

setNewsletterActive( boolean $newsletterActive)

No description

boolean
getNewsletterConfirmed()

No description

setNewsletterConfirmed( boolean $newsletterConfirmed)

No description

boolean
getIsGuest()

No description

setIsGuest( boolean $isGuest)

No description

Details

in Base at line line 50
static string getPimcoreObjectClass()

get Pimcore implementation class.

Return Value

string

Exceptions

Exception

in Base at line line 68
static Base create()

Create new instance of Pimcore Object.

Return Value

Base

Exceptions

Exception

in Base at line line 84
static int classId()

returns the class ID of the current object class.

Return Value

int

in Base at line line 98
static Listing getList( array $config = array())

Parameters

array $config

Return Value

Listing

Exceptions

Exception

in Base at line line 131
static Data[] getMandatoryFields()

Return Value

Data[]

Exceptions

Exception

in Base at line line 156
static validate($data)

Parameters

$data

Exceptions

ValidationException

in Base at line line 173
static mixed|null __callStatic($method, $arguments)

Parameters

$method
$arguments

Return Value

mixed|null

Exceptions

Exception

in Base at line line 194
array toArray()

Object to Array.

Return Value

array

in Base at line line 204
string getCacheKey()

get cache key

Return Value

string

in Base at line line 224
AdminStyle getElementAdminStyle()

Admin Element Style.

Return Value

AdminStyle

in Base at line line 247
Base save()

Return Value

Base

Exceptions

Exception
Exception
ValidationException

in Base at line line 267
Note createNote($type)

Create a note for this object.

Parameters

$type string

Return Value

Note $note

in Base at line line 289
AbstractObject getVariantMaster()

Return Topmost Master if Object is Variant

Return Value

AbstractObject

in Base at line line 304
bool isAllowedForShop( Shop $shop)

Parameters

Shop $shop

Return Value

bool

in Base at line line 323
bool|string getUrl($language, $params = array(), $route, bool $reset = false, Shop $shop = null)

Parameters

$language
$params
$route
bool $reset
Shop $shop

Return Value

bool|string

at line line 54
static bool getUniqueByEmail($email, $isGuest = false)

Get User by E-Mail.

Parameters

$email string
$isGuest boolean

Return Value

bool

at line line 86
static User|bool getGuestByEmail($email)

Get Guest by email.

Parameters

$email

Return Value

User|bool

at line line 98
static User|bool getUserByEmail($email)

Get User by email.

Parameters

$email

Return Value

User|bool

at line line 108
Folder getPathForAddresses()

get folder for order

Return Value

Folder

at line line 122
bool authenticate($password)

Auth User.

Parameters

$password

Return Value

bool

Exceptions

Exception

at line line 138
bool findAddressByName($name)

Get User address by Name.

Parameters

$name

Return Value

bool

at line line 154
array getOrders()

Get User Orders.

Return Value

array

at line line 169
Cart[] getCarts()

Get User Carts

Return Value

Cart[]

at line line 179
bool getLatestCart()

Get Users latest Cart.

Return Value

bool

at line line 202
bool isInGroup( Group $group)

Check if user is in group.

Parameters

Group $group

Return Value

bool

at line line 218
string getFirstname()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 228
setFirstname( string $firstname)

Parameters

string $firstname

Exceptions

ObjectUnsupportedException

at line line 238
string getLastname()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 248
setLastname( string $lastname)

Parameters

string $lastname

Exceptions

ObjectUnsupportedException

at line line 258
string getGender()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 268
setGender( string $gender)

Parameters

string $gender

Exceptions

ObjectUnsupportedException

at line line 278
Group[] getCustomerGroups()

Return Value

Group[]

Exceptions

ObjectUnsupportedException

at line line 288
setCustomerGroups( Group[] $customerGroups)

Parameters

Group[] $customerGroups

Exceptions

ObjectUnsupportedException

at line line 298
string getEmail()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 308
setEmail( string $email)

Parameters

string $email

Exceptions

ObjectUnsupportedException

at line line 318
string getPassword()

Return Value

string

Exceptions

ObjectUnsupportedException

at line line 328
setPassword( string $password)

Parameters

string $password

Exceptions

ObjectUnsupportedException

at line line 338
mixed getAddresses()

Return Value

mixed

Exceptions

ObjectUnsupportedException

at line line 348
setAddresses( mixed $addresses)

Parameters

mixed $addresses

Exceptions

ObjectUnsupportedException

at line line 358
boolean getNewsletterActive()

Return Value

boolean

Exceptions

ObjectUnsupportedException

at line line 368
setNewsletterActive( boolean $newsletterActive)

Parameters

boolean $newsletterActive

Exceptions

ObjectUnsupportedException

at line line 378
boolean getNewsletterConfirmed()

Return Value

boolean

Exceptions

ObjectUnsupportedException

at line line 388
setNewsletterConfirmed( boolean $newsletterConfirmed)

Parameters

boolean $newsletterConfirmed

Exceptions

ObjectUnsupportedException

at line line 398
boolean getIsGuest()

Return Value

boolean

Exceptions

ObjectUnsupportedException

at line line 408
setIsGuest( boolean $isGuest)

Parameters

boolean $isGuest

Exceptions

ObjectUnsupportedException