/** * * @param <String> $rev_id Revision id * @return boModel */ static function loadModel($rev_id) { try { if ($rev_id != 0) { $dao = new dao(); return $dao->loadModel($rev_id); } else { return manager::getNewBoModel(); } } catch (Exception $e) { throw new MWException(__METHOD__ . ' db access problems, if this page existed before the DSMW installation, maybe it has not been processed by DSMW'); } }