public function getAllConfigs()
 {
     $result = $this->questionConfigDao->getAllConfigs();
     $list = array();
     foreach ($result as $item) {
         $list[$item->questionPresentation] = $item;
     }
     return $list;
 }
Ejemplo n.º 2
0
 public function getAllConfigs()
 {
     $result = $this->questionConfigDao->getAllConfigs();
     foreach ($result as $item) {
         $this->presentation2config[$item->questionPresentation] = $item;
     }
     return $this->presentation2config[$presentation];
 }