public function toArray()
	{
		$result = array();

		$cvars = get_class_vars(__CLASS__);

		foreach ($cvars as $key => $value)
		{
			if ($key{0} == '_')
			{
				continue;
			}

			$current = $this->__get($key);

			$result[$key] = $current;
		}

		return $result;
	}
public function toArray()
	{
		$result = array();

		$cvars = get_class_vars(__CLASS__);

		foreach ($cvars as $key => $value)
		{
			if ($key{0} == '_')
			{
				continue;
			}

			$current = $this->__get($key);

			$result[$key] = $current;
		}

		return $result;
	}
public function toArray ( ) { $ result = array ( ) ; $ cvars = get_class_vars ( __CLASS__ ) ; foreach ( $ cvars as $ key => $ value ) { if ( $ key { 0 } == '_' ) { continue ; } $ current = $ this -> __get ( $ key ) ; $ result [ $ key ] = $ current ; } return $ result ; }
Output data as an array

@return  array
Output data as an array