Example #1
0
 /**
  * Fetch an object by it's slug
  *
  * @access public
  * @param int $slug The slug of the object to fetch
  * @param mixed $data Any data to pass to _getcount_common()
  * @return	stdClass
  **/
 public function get_by_slug($id, $data = NULL)
 {
     $data = $this->_include_everything($data);
     return parent::get_by_slug($id, $data);
 }