Beispiel #1
0
 /**
  * Wrap One's find_one method to return
  * an instance of the class associated with
  * this wrapper instead of the raw One class.
  *
  * @param  null|integer $id
  * @return Model
  */
 public function find_one($id = null)
 {
     return $this->_createModelInstance(parent::find_one($id));
 }