getRuleNames(); $cond_text_rules = count($this->condtext) ? json_decode($this->condtext['rules']) : array(); $cond_text_rules = !is_array($cond_text_rules) ? array() : $cond_text_rules; $editor = JEditor::getInstance(JFactory::getApplication()->get('editor')); // load language vars for JavaScript JText::script('VBO_CONDTEXT_RULE_DISABLED'); JText::script('VBO_CONDTEXT_NORULES_SEL'); JText::script('VBO_CONDTEXT_RULE_RMCONF'); ?>
printYesNoButtons('debug', JText::translate('VBYES'), JText::translate('VBNO'), (count($this->condtext) ? (int)$this->condtext['debug'] : 0), 1, 0); ?>
= 7 supporting throwable exceptions for Fatal Errors * we try to avoid issues with third party plugins that make use * of the WP native function get_current_screen(). * * @wponly - but we also use it on Joomla @joomlaonly */ try { echo $editor->display( "msg", (count($this->condtext) ? $this->condtext['msg'] : ""), '100%', 300, 70, 20 ); } catch (Throwable $t) { echo $t->getMessage() . ' in ' . $t->getFile() . ':' . $t->getLine() . '
'; } } else { // we cannot catch Fatal Errors in PHP 5.x echo $editor->display( "msg", (count($this->condtext) ? $this->condtext['msg'] : ""), '100%', 300, 70, 20 ); } ?>
id)) { continue; } $rule = $rules_helper->getRule($rule_data->id); if ($rule === false) { // rule object not found continue; } // get identifier $identifier = $rule->getIdentifier(); // inject rule params $rule->setParams($rule_data->params); // check whether the rule object overrides the callbackAction method $supports_action = $rules_helper->supportsAction($rule); ?>
getName(); ?>
renderParams(); // push the rule to the pool of the ones already rendered array_push($rules_loaded, $identifier); ?>
getRules() as $rule) { $identifier = $rule->getIdentifier(); if (in_array($identifier, $rules_loaded)) { continue; } // unset the params for this rule $rule->setParams(null); // check whether the rule object overrides the callbackAction method $supports_action = $rules_helper->supportsAction($rule); ?>
condtext)) { ?>

×

id, $rules_loaded); ?>
name; ?>
descr; ?>