PHP Class RuleDictionnaryPrinterCollection, glpi

Inheritance: extends RuleCollection
Exibir arquivo Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$can_replay_rules
$menu_option
$menu_type
$rightname
$stop_on_first_match From RuleCollection

Public Methods

Method Description
cleanTestOutputCriterias ( array $output )
getTitle ( )
moveDirectConnections ( $ID, $new_printers_id ) : nothing Move direct connections from old printer to the new one
putOldPrintersInTrash ( $IDS = [] )
replayDictionnaryOnOnePrinter ( array &$new_printers, array $res_rule, $params = [], array &$printers_ids ) Replay dictionnary on one printer
replayDictionnaryOnPrintersByID ( array $IDs, $res_rule = [] ) : Query Replay dictionnary on several printers
replayRulesOnExistingDB ( $offset, $maxtime, $items = [], $params = [] )
somethingHasChanged ( array $res_rule, array $input )

Method Details

cleanTestOutputCriterias() public method

See also: RuleCollection::cleanTestOutputCriterias()
public cleanTestOutputCriterias ( array $output )
$output array

getTitle() public method

See also: RuleCollection::getTitle()
public getTitle ( )

moveDirectConnections() public method

Move direct connections from old printer to the new one
public moveDirectConnections ( $ID, $new_printers_id ) : nothing
$ID the old printer's id
$new_printers_id the new printer's id
return nothing

putOldPrintersInTrash() public method

public putOldPrintersInTrash ( $IDS = [] )
$IDS array

replayDictionnaryOnOnePrinter() public method

Replay dictionnary on one printer
public replayDictionnaryOnOnePrinter ( array &$new_printers, array $res_rule, $params = [], array &$printers_ids )
$new_printers array
$res_rule array array of rule results
$params array
$printers_ids array

replayDictionnaryOnPrintersByID() public method

Replay dictionnary on several printers
public replayDictionnaryOnPrintersByID ( array $IDs, $res_rule = [] ) : Query
$IDs array array of printers IDs to replay
$res_rule array of rule results
return Query result handler

replayRulesOnExistingDB() public method

See also: RuleCollection::replayRulesOnExistingDB()
public replayRulesOnExistingDB ( $offset, $maxtime, $items = [], $params = [] )

somethingHasChanged() static public method

static public somethingHasChanged ( array $res_rule, array $input )
$res_rule array array
$input array array

Property Details

$can_replay_rules public_oe property

public $can_replay_rules

$menu_option public_oe property

public $menu_option

$menu_type public_oe property

public $menu_type

$rightname static_oe public_oe property

static public $rightname

$stop_on_first_match public_oe property

From RuleCollection
public $stop_on_first_match