You are here

class RulesConditionalTestStubPredicateElement in Conditional Rules 8

Same name and namespace in other branches
  1. 7 tests/rules_conditional_test.inc \RulesConditionalTestStubPredicateElement

Test predicate element.

Hierarchy

Expanded class hierarchy of RulesConditionalTestStubPredicateElement

1 string reference to 'RulesConditionalTestStubPredicateElement'
rules_conditional_test_rules_plugin_info in tests/rules_conditional_test.module
Implements hook_rules_plugin_info().

File

tests/rules_conditional_test.inc, line 93
Testing implementations.

View source
class RulesConditionalTestStubPredicateElement extends RulesConditionalPredicateElement {
  protected $itemName = 'stub conditional predicate element';

}

Members

Namesort descending Modifiers Type Description Overrides
RulesConditionalElement::$parent protected property The parent conditional.
RulesConditionalElement::checkSiblings protected function Checks basic conditional element integrity.
RulesConditionalElement::delete public function Deletes the element and its children. 1
RulesConditionalElement::exportSettings protected function
RulesConditionalElement::getAllSibling public function Gets sibling elements.
RulesConditionalElement::getNextSibling public function Gets the next sibling element.
RulesConditionalElement::getPreviousSibling public function Gets the previous sibling element.
RulesConditionalElement::isDefault public function Determines whether this branch is default, i.e. covers the remainder of conditions outside of all non-default branches inside the conditional. 3
RulesConditionalElement::providesVariables public function 1
RulesConditionalElement::setParent public function @todo Remove once http://drupal.org/node/1671344 is resolved.
RulesConditionalPredicateElement::$predicate protected property
RulesConditionalPredicateElement::canEvaluate public function Evaluates the predicate. Overrides RulesConditionalElement::canEvaluate
RulesConditionalPredicateElement::dependencies public function Overrides RulesConditionalElement::dependencies
RulesConditionalPredicateElement::exportChildren protected function Exports predicate with actions. Overrides RulesConditionalElement::exportChildren
RulesConditionalPredicateElement::exportFlat protected function
RulesConditionalPredicateElement::exportPredicate protected function Exports predicate. 1
RulesConditionalPredicateElement::importChildren protected function Imports predicate. Overrides RulesConditionalElement::importChildren
RulesConditionalPredicateElement::importPredicate protected function Imports predicate. 1
RulesConditionalPredicateElement::integrityCheck public function Overrides RulesConditionalElement::integrityCheck
RulesConditionalPredicateElement::isNegated public function Returns whether the predicate is negated.
RulesConditionalPredicateElement::label public function Overrides RulesConditionalElement::label
RulesConditionalPredicateElement::negate public function Negates the predicate.
RulesConditionalPredicateElement::pluginLabel public function 1
RulesConditionalPredicateElement::resetInternalCache public function
RulesConditionalPredicateElement::setPredicate protected function Sets a condition as predicate.
RulesConditionalPredicateElement::stateVariables protected function Adds predicate assertions to state.
RulesConditionalPredicateElement::__clone public function
RulesConditionalPredicateElement::__construct public function
RulesConditionalPredicateElement::__sleep public function
RulesConditionalTestStubPredicateElement::$itemName protected property