public function valuesFor($attributeNames)
	{
		$filter = array();

		foreach ($attributeNames as $name)
			$filter[$name] = $this->$name;

		return $filter;
	}
public function valuesFor($attributeNames)
	{
		$filter = array();

		foreach ($attributeNames as $name)
			$filter[$name] = $this->$name;

		return $filter;
	}
public function valuesFor ( $ attributeNames ) { $ filter = array ( ) ; foreach ( $ attributeNames as $ name ) $ filter [ $ name ] = $ this -> $ name ; return $ filter ; }
Helper to return a hash of values for the specified attributes.

@param array $attribute_names Array of attribute names
@return array An array in the form array(name => value, ...)
Helper to return a hash of values for the specified attributes .