added setExpectedException and check type Config

This commit is contained in:
Vyacheslav Agafonov
2011-11-30 13:26:36 +04:00
parent b7e71c20b7
commit be83874392
4 changed files with 30 additions and 7 deletions

View File

@ -221,6 +221,18 @@ abstract class Model
$cache_key->set($result);
}
}
// $debug = __CLASS__;
$debug = get_class($this->query($sql, $params));
// $debug = get_class_methods($this->query($sql, $params));
//$result = print_r($debug, true);
return $result;
}