function _action_listactmgr() { $c = new CdrAlertManager(); // Instantiating object if does not exist to avoid // "creating default object from empty value" warning. if (!isset($this->viewBean)) { $this->viewBean = new stdClass(); } $this->viewBean->rules = $c->populate(); $this->set_view("list_actmgr.php"); }
function _action_listactmgr() { $c = new CdrAlertManager(); $this->viewBean->rules = $c->populate(); $this->set_view("list_actmgr.php"); }