lithium\data\Entity::data()
Access the data fields of the record. Can also access a $named field.
Parameters
- 
							string
							$nameOptionally included field name. 
Returns
mixedEntire data array if $name is empty, otherwise the value from the named field.
Source
	public function data($name = null) {
		if ($name) {
			return $this->__get($name);
		}
		return $this->to('array');
	}