abstract class RulesPluginHandlerBase in Rules 7.2
Base class for implementing abstract plugins via classes.
Hierarchy
- class \RulesPluginHandlerBase extends \FacesExtender implements RulesPluginHandlerInterface
Expanded class hierarchy of RulesPluginHandlerBase
File
- includes/
rules.core.inc, line 2109 - Rules base classes and interfaces needed for any rule evaluation.
View source
abstract class RulesPluginHandlerBase extends FacesExtender implements RulesPluginHandlerInterface {
/**
* @var RulesAbstractPlugin
*/
protected $element;
/**
* Overridden to provide $this->element to make the code more meaningful.
*/
public function __construct(FacesExtendable $object) {
$this->object = $object;
$this->element = $object;
}
/**
* Implements RulesPluginImplInterface::access().
*/
public function access() {
return TRUE;
}
public function validate() {
}
public function process() {
}
public function info_alter(&$element_info) {
}
public function dependencies() {
}
public function form_alter(&$form, $form_state, $options) {
}
public function assertions() {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RulesPluginHandlerBase:: |
protected | property | ||
RulesPluginHandlerBase:: |
public | function |
Implements RulesPluginImplInterface::access(). Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function |
Returns an array of info assertions for the specified parameters. Overrides RulesPluginHandlerInterface:: |
1 |
RulesPluginHandlerBase:: |
public | function |
Returns an array of required modules. Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function |
Alters the generated configuration form of the element. Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function |
Allows altering of the element's action/condition info. Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function |
Processes settings independent from a form submission. Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function |
Validates $settings independent from a form submission. Overrides RulesPluginHandlerInterface:: |
|
RulesPluginHandlerBase:: |
public | function | Overridden to provide $this->element to make the code more meaningful. |