Пример #1
0
 public function patchVocabulary(array $period = array())
 {
     if (!$this->isCategoryTableExists()) {
         return;
     }
     foreach (M('ReportDetail')->getVisibleList() as $detail) {
         if ($detail == 'generaltype') {
             continue;
         }
         $this->_mapper->getVocabulary($detail)->parseCategory($this, $period);
     }
 }