original_string: protected function _fetch_object($class_name = 'stdClass')
  	{
  		// No native support for fetching rows as objects
  		if (($row = $this->result_id->fetchArray(SQLITE3_ASSOC)) === FALSE)
  		{
  			return FALSE;
  		}
  		elseif ($class_name === 'stdClass')
  		{
  			return (object) $row;
  		}
  
  		$class_name = new $class_name();
  		foreach (array_keys($row) as $key)
  		{
  			$class_name->$key = $row[$key];
  		}
  
  		return $class_name;
  	}
code: protected function _fetch_object($class_name = 'stdClass')
  	{
  		// No native support for fetching rows as objects
  		if (($row = $this->result_id->fetchArray(SQLITE3_ASSOC)) === FALSE)
  		{
  			return FALSE;
  		}
  		elseif ($class_name === 'stdClass')
  		{
  			return (object) $row;
  		}
  
  		$class_name = new $class_name();
  		foreach (array_keys($row) as $key)
  		{
  			$class_name->$key = $row[$key];
  		}
  
  		return $class_name;
  	}
code_tokens: protected function _fetch_object ( $ class_name = 'stdClass' ) { // No native support for fetching rows as objects if ( ( $ row = $ this -> result_id -> fetchArray ( SQLITE3_ASSOC ) ) === FALSE ) { return FALSE ; } elseif ( $ class_name === 'stdClass' ) { return ( object ) $ row ; } $ class_name = new $ class_name ( ) ; foreach ( array_keys ( $ row ) as $ key ) { $ class_name -> $ key = $ row [ $ key ] ; } return $ class_name ; }
docstring: Result - object
  
  Returns the result set as an object
  
  @param	string	$class_name
  @return	object
docstring_tokens: Result - object