You are here

protected function RulesConditional::call_elseIf in Conditional Rules 7

Same name and namespace in other branches
  1. 8 includes/rules_conditional.plugin.inc \RulesConditional::call_elseIf()

Adds an "if" as an "else if" statement, for use with magic call.

File

includes/rules_conditional.plugin.inc, line 46
Rules plugin implementation.

Class

RulesConditional
Default if-else conditional statement.

Code

protected function call_elseIf($predicate, array $settings = array()) {
  return $this
    ->call_if($predicate, $settings);
}