public function preDispatch()
 {
     parent::preDispatch();
     $this->_rrds = array();
     foreach (Kwf_Registry::get('config')->rrd as $k => $n) {
         if ($n) {
             $this->_rrds[$k] = new $n();
         }
     }
 }
 public function preDispatch()
 {
     parent::preDispatch();
     $this->_commands = array();
     if (Kwf_Registry::get('config')->processControl) {
         $this->_commands = Kwf_Registry::get('config')->processControl->toArray();
     }
     foreach ($this->_commands as $k => $c) {
         if (!$c) {
             unset($this->_commands[$k]);
             continue;
         }
         if (!isset($c['count'])) {
             $this->_commands[$k]['count'] = 1;
         }
     }
 }