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;
	}
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;
	}
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 ; }
Result - object

Returns the result set as an object

@param	string	$class_name
@return	object
Result - object