public function getAttributeValue($attr, &$request = null) {
        $url = "entities/{$this->_id}/attrs/$attr/value";

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

        return $this->_orion->get($url, $request, "text/plain","text/plain");
    }
public function getAttributeValue($attr, &$request = null) {
        $url = "entities/{$this->_id}/attrs/$attr/value";

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

        return $this->_orion->get($url, $request, "text/plain","text/plain");
    }
public function getAttributeValue ( $ attr , & $ request = null ) { $ url = "entities/{$this->_id}/attrs/$attr/value" ; if ( $ this -> _type ) { $ url .= "?type={$this->_type}" ; } return $ this -> _orion -> get ( $ url , $ request , "text/plain" , "text/plain" ) ; }
Get Attribute Value
@param mixed $attr
@return \Orion\Context\Context
Get Attribute Value