public function WebformConditionals::getOrder in Webform 7.4
Returns the (possibly cached) topological sort order.
2 calls to WebformConditionals::getOrder()
- WebformConditionals::executeConditionals in includes/
webform.webformconditionals.inc - Executes the conditionals on a submission.
- WebformConditionals::reportErrors in includes/
webform.webformconditionals.inc - Displays and error messages from the previously-generated sort order.
File
- includes/
webform.webformconditionals.inc, line 234 - Conditional engine to process dependencies within the webform's conditionals.
Class
- WebformConditionals
- Performs analysis and topological sorting on the conditionals.
Code
public function getOrder() {
if (!$this->topologicalOrder) {
$this
->topologicalSort();
}
return $this->topologicalOrder;
}