PHP Class Ingo_Factory_Script, horde

Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Core_Factory_Base
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
activateAll ( boolean $auto_update = true ) Activate all scripts.
canPerform ( ) : boolean Is the perform() function available?
create ( integer $rule ) : Ingo_Script Returns a Ingo_Script instance.
createAll ( ) : array Returns all Ingo_Script instances.
hasFeature ( string $feature ) : boolean Returns whether the script drivers support a certain feature.
perform ( integer $change = null ) Performs the filtering specified in all rules.

Method Details

activateAll() public method

Activate all scripts.
public activateAll ( boolean $auto_update = true )
$auto_update boolean Only update if auto_update is active?

canPerform() public method

Is the perform() function available?
public canPerform ( ) : boolean
return boolean True if perform() is available, false if not.

create() public method

Returns a Ingo_Script instance.
public create ( integer $rule ) : Ingo_Script
$rule integer A script rule, one of the Ingo::RULE_* constants.
return Ingo_Script A Ingo_Script instance.

createAll() public method

Returns all Ingo_Script instances.
public createAll ( ) : array
return array All Ingo_Script instances.

hasFeature() public method

Returns whether the script drivers support a certain feature.
See also: Ingo_Script_Base::hasFeature()
public hasFeature ( string $feature ) : boolean
$feature string A feature name.
return boolean True if this feature is supported.

perform() public method

Performs the filtering specified in all rules.
public perform ( integer $change = null )
$change integer The timestamp of the latest rule change during the current session.