public static function _read ($params, &$db = FALSE)
	{
		
		// Create the object

		$obj	= new static;
		
		// If the params are an array
		
		if (is_array ($params))
		{

			// Select all

			$params['select']	= '*';

			// Get data
			
			$row	= static::_getValue ($params, \PDO::FETCH_ASSOC, $db);

			// If no data was returned return FALSE

			if (!$row)
			{
				return FALSE;
			}

			// Set each attribute value

			foreach ($row as $name => $val)
			{

				if ($obj->attributeExists ($name))
				{
					$obj->iset ($name, $val);
				}

			}
			
		}
		
		// Else the params are not an array, so assume pk
		
		else
		{
			
			// Read the object
			
			if (!$obj->read ($params, $db))
			{
				return FALSE;
			}
			
		}
		
		// Return the object
		
		return $obj;
		
	}