PHP Class Pimcore\Model\Tool\Targeting\Persona

Inheritance: extends Pimcore\Model\AbstractModel
显示文件 Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$active boolean
$conditions array
$description string
$id integer
$name string
$threshold integer

Public Methods

Method Description
fire ( $id ) add the persona to the current user
getActive ( ) : boolean
getById ( $id ) : null | Persona
getConditions ( ) : array
getDescription ( ) : string
getId ( ) : integer
getName ( ) : string
getThreshold ( ) : integer
isIdActive ( $id ) : boolean
setActive ( boolean $active )
setConditions ( $conditions )
setDescription ( $description )
setId ( $id )
setName ( $name )
setThreshold ( integer $threshold )

Method Details

fire() public static method

add the persona to the current user
public static fire ( $id )
$id

getActive() public method

public getActive ( ) : boolean
return boolean

getById() public static method

public static getById ( $id ) : null | Persona
$id
return null | Persona

getConditions() public method

public getConditions ( ) : array
return array

getDescription() public method

public getDescription ( ) : string
return string

getId() public method

public getId ( ) : integer
return integer

getName() public method

public getName ( ) : string
return string

getThreshold() public method

public getThreshold ( ) : integer
return integer

isIdActive() public static method

public static isIdActive ( $id ) : boolean
$id
return boolean

setActive() public method

public setActive ( boolean $active )
$active boolean

setConditions() public method

public setConditions ( $conditions )
$conditions

setDescription() public method

public setDescription ( $description )
$description

setId() public method

public setId ( $id )
$id

setName() public method

public setName ( $name )
$name

setThreshold() public method

public setThreshold ( integer $threshold )
$threshold integer

Property Details

$active public_oe property

public bool $active
return boolean

$conditions public_oe property

public array $conditions
return array

$description public_oe property

public string $description
return string

$id public_oe property

public int $id
return integer

$name public_oe property

public string $name
return string

$threshold public_oe property

public int $threshold
return integer