PHP Class Pimcore\Model\Tool\Targeting\Rule\Listing

Inheritance: extends Pimcore\Model\Listing\AbstractListing
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$targets array Contains the results of the list. They are all an instance of Tool\Targeting\Rule

Public Methods

Method Description
getTargets ( ) : array
isValidOrderKey ( $key ) : boolean Tests if the given key is an valid order key to sort the results
setTargets ( $targets )

Method Details

getTargets() public method

public getTargets ( ) : array
return array

isValidOrderKey() public method

Tests if the given key is an valid order key to sort the results
public isValidOrderKey ( $key ) : boolean
return boolean

setTargets() public method

public setTargets ( $targets )
$targets

Property Details

$targets public property

Contains the results of the list. They are all an instance of Tool\Targeting\Rule
public array $targets
return array