protected function RulesContainerPlugin::exportChildren in Rules 7.2
5 calls to RulesContainerPlugin::exportChildren()
- Rule::exportChildren in includes/
rules.plugins.inc - RulesConditionContainer::exportChildren in includes/
rules.core.inc - RulesContainerPlugin::exportToArray in includes/
rules.core.inc - RulesLoop::exportChildren in includes/
rules.plugins.inc - RulesRuleSet::exportChildren in includes/
rules.plugins.inc
4 methods override RulesContainerPlugin::exportChildren()
- Rule::exportChildren in includes/
rules.plugins.inc - RulesConditionContainer::exportChildren in includes/
rules.core.inc - RulesLoop::exportChildren in includes/
rules.plugins.inc - RulesRuleSet::exportChildren in includes/
rules.plugins.inc
File
- includes/
rules.core.inc, line 2420 - Rules base classes and interfaces needed for any rule evaluation.
Class
- RulesContainerPlugin
- Base class for ContainerPlugins like Rules, Logical Operations or Loops.
Code
protected function exportChildren($key = NULL) {
$key = isset($key) ? $key : strtoupper($this
->plugin());
$export[$key] = array();
foreach ($this->children as $child) {
$export[$key][] = $child
->export();
}
return $export;
}