/** * 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)); }
/** * Clear the query cache */ public static function clear_cache() { self::$_query_cache = array(); }