lithium\data\Entity::__get()

public method

Overloading for reading inaccessible properties.

Parameters

  • string $name

    Property name.

Returns

mixed

Result.

Source

	public function &__get($name) {
		if (isset($this->_relationships[$name])) {
			return $this->_relationships[$name];
		}
		if (isset($this->_updated[$name])) {
			return $this->_updated[$name];
		}
		$null = null;
		return $null;
	}