class Visitor extends AbstractModel

Class Visitor

Properties

int $id from AbstractModel
int $shopId
int $userId
int $ip
string $controller
string $action
string $module
string $referrer
int $creationDate

Methods

static  null|AbstractModel
getById($id)

Get Range by id.

static  boolean
isMultiShop()

No description

static  boolean
isMultiShopFK()

No description

static  AbstractModel
create()

Create new instance of Pimcore Object.

static  AbstractModel|null
getByShopId($id, null $shopId = null)

No description

static  null|AbstractModel
getByField( string $field, string $value, int $shopId = null)

Get Range by id.

static  AbstractListing
getList()

get listing class.

static  AbstractModel[]
getAll()

Get all objects form this type.

int
getId()

No description

setId( int $id)

No description

string
getCacheKey()

No description

save()

save model to database.

bool
delete()

No description

getLocalizedFields()

Get LocalizedFields Provider.

setLocalizedFields($localizedFields)

Get LocalizedFields Provider.

AbstractModel
setValue($key, $value)

Override setValue function to support localized fields.

string
__toString()

No description

array
__sleep()

Prepare object to goto sleep.

__wakeup()

Prepare object to wakeup.

static 
maintenance()

Maintenance Task for cleanup

int
getShopId()

No description

setShopId( int $shopId)

No description

int
getUserId()

No description

setUserId( int $userId)

No description

int
getIp()

No description

setIp( int $ip)

No description

string
getController()

No description

setController( string $controller)

No description

string
getAction()

No description

setAction( string $action)

No description

string
getModule()

No description

setModule( string $module)

No description

string
getReferrer()

No description

setReferrer( string $referrer)

No description

int
getCreationDate()

No description

setCreationDate( int $creationDate)

No description

Details

in AbstractModel at line line 72
static null|AbstractModel getById($id)

Get Range by id.

Parameters

$id

Return Value

null|AbstractModel

in AbstractModel at line line 80
static boolean isMultiShop()

Return Value

boolean

in AbstractModel at line line 94
static boolean isMultiShopFK()

Return Value

boolean

in AbstractModel at line line 112
static AbstractModel create()

Create new instance of Pimcore Object.

Return Value

AbstractModel

Exceptions

Exception

in AbstractModel at line line 122
static AbstractModel|null getByShopId($id, null $shopId = null)

Parameters

$id
null $shopId

Return Value

AbstractModel|null

in AbstractModel at line line 170
static null|AbstractModel getByField( string $field, string $value, int $shopId = null)

Get Range by id.

Parameters

string $field
string $value
int $shopId

Return Value

null|AbstractModel

in AbstractModel at line line 223
static AbstractListing getList()

get listing class.

Return Value

AbstractListing

Exceptions

Exception

in AbstractModel at line line 243
static AbstractModel[] getAll()

Get all objects form this type.

Return Value

AbstractModel[]

in AbstractModel at line line 253
int getId()

Return Value

int

in AbstractModel at line line 261
setId( int $id)

Parameters

int $id

in AbstractModel at line line 269
string getCacheKey()

Return Value

string

in AbstractModel at line line 277
save()

save model to database.

at line line 101
bool delete()

Return Value

bool

in AbstractModel at line line 310
LocalizedFields|null getLocalizedFields()

Get LocalizedFields Provider.

Return Value

LocalizedFields|null

in AbstractModel at line line 329
setLocalizedFields($localizedFields)

Get LocalizedFields Provider.

Parameters

$localizedFields

in AbstractModel at line line 342
AbstractModel setValue($key, $value)

Override setValue function to support localized fields.

Parameters

$key
$value

Return Value

AbstractModel

at line line 125
string __toString()

Return Value

string

in AbstractModel at line line 370
array __sleep()

Prepare object to goto sleep.

Return Value

array

in AbstractModel at line line 390
__wakeup()

Prepare object to wakeup.

at line line 70
static maintenance()

Maintenance Task for cleanup

at line line 133
int getShopId()

Return Value

int

at line line 141
setShopId( int $shopId)

Parameters

int $shopId

at line line 149
int getUserId()

Return Value

int

at line line 157
setUserId( int $userId)

Parameters

int $userId

at line line 165
int getIp()

Return Value

int

at line line 173
setIp( int $ip)

Parameters

int $ip

at line line 181
string getController()

Return Value

string

at line line 189
setController( string $controller)

Parameters

string $controller

at line line 197
string getAction()

Return Value

string

at line line 205
setAction( string $action)

Parameters

string $action

at line line 213
string getModule()

Return Value

string

at line line 221
setModule( string $module)

Parameters

string $module

at line line 229
string getReferrer()

Return Value

string

at line line 237
setReferrer( string $referrer)

Parameters

string $referrer

at line line 245
int getCreationDate()

Return Value

int

at line line 253
setCreationDate( int $creationDate)

Parameters

int $creationDate