public function getAttribute($attr) {
        $url = "entities/{$this->_id}/attrs/$attr";

        if ($this->_type) {
            $url .= "?type={$this->_type}";
        }

        return $this->_orion->get($url);
    }
public function getAttribute($attr) {
        $url = "entities/{$this->_id}/attrs/$attr";

        if ($this->_type) {
            $url .= "?type={$this->_type}";
        }

        return $this->_orion->get($url);
    }
public function getAttribute ( $ attr ) { $ url = "entities/{$this->_id}/attrs/$attr" ; if ( $ this -> _type ) { $ url .= "?type={$this->_type}" ; } return $ this -> _orion -> get ( $ url ) ; }
Get Attribute Data
@param mixed $attr
@return \Orion\Context\Context
Get Attribute Data