コード例 #1
0
 protected function DoPrepare()
 {
     parent::DoPrepare();
     $this->ResetDB();
     MetaModel::DBCheckIntegrity();
 }
コード例 #2
0
ファイル: test.class.inc.php プロジェクト: henryavila/itop
 protected function DoPrepare()
 {
     parent::DoPrepare();
     if (!MetaModel::DBExists(false)) {
         MetaModel::DBCreate();
     }
     // something here to create records... but that's another story
 }