class Persona extends AbstractModel (View source)

deprecated Use TargetGroup instead. Will be removed in Pimcore 6.

Properties

protected AbstractDao $dao from AbstractModel
int $id
string $name
string $description
int $threshold
bool $active
array $conditions

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

static null|Persona
getById($id)

No description

static 
fire($id)

add the persona to the current user

static bool
isIdActive($id)

No description

$this
setDescription($description)

No description

string
getDescription()

No description

$this
setId($id)

No description

int
getId()

No description

$this
setName($name)

No description

string
getName()

No description

$this
setConditions($conditions) deprecated

No description

array
getConditions() deprecated

No description

setThreshold(int $threshold)

No description

int
getThreshold()

No description

setActive(bool $active)

No description

bool
getActive()

No description

Details

Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

static null|Persona getById($id)

Parameters

$id

Return Value

null|Persona

static fire($id)

add the persona to the current user

Parameters

$id

static bool isIdActive($id)

Parameters

$id

Return Value

bool

$this setDescription($description)

Parameters

$description

Return Value

$this

string getDescription()

Return Value

string

$this setId($id)

Parameters

$id

Return Value

$this

int getId()

Return Value

int

$this setName($name)

Parameters

$name

Return Value

$this

string getName()

Return Value

string

$this setConditions($conditions) deprecated

deprecated Conditions are not supported anymore and will not ne persisted. Method will be removed in Pimcore 6.

Parameters

$conditions

Return Value

$this

array getConditions() deprecated

deprecated Conditions are not supported anymore and will not ne persisted. Method will be removed in Pimcore 6.

Return Value

array

setThreshold(int $threshold)

Parameters

int $threshold

int getThreshold()

Return Value

int

setActive(bool $active)

Parameters

bool $active

bool getActive()

Return Value

bool