Esempio n. 1
0
 /**
  * Wrap Idiorm's create method to return an
  * empty instance of the class associated with
  * this wrapper instead of the raw ORM class.
  */
 public function create($data = null)
 {
     return $this->_create_model_instance(parent::create($data));
 }
Esempio n. 2
0
 /**
  * Clear the query cache
  */
 public static function clear_cache()
 {
     self::$_query_cache = array();
 }