Tipsy\Looper::__get PHP Метод

__get() публичный Метод

public __get ( $name )
    public function &__get($name)
    {
        /** looper should never need this, but this might break stuff
        		if (property_exists($this,$name)) {
        			return $this->{$name};
        		} else {
        			if (isset($name{0}) && $name{0} == '_') {
        				return $this->_items[0]->{$name};
        			} else {
        				return $this->_items[0]->_properties[$name];
        			}
        		}
        		*/
        if (isset($name[0]) && $name[0] == '_') {
            return $this->_items[0]->{$name};
        } else {
            return $this->_items[0]->_properties[$name];
        }
    }