ActiveResource\ActiveResource::get PHP Метод

get() публичный метод

GET /collection/id/method.xml GET /collection/id/method.xml?attr=value
public get ( $method, $options = [] )
    public function get($method, $options = array())
    {
        $req = $this->site . $this->element_name_plural;
        if (isset($this->_data['id']) && $this->_data['id']) {
            $req .= '/' . $this->_data['id'];
        }
        $req .= '/' . $method . '.xml';
        if (count($options) > 0) {
            $req .= '?' . http_build_query($options);
        }
        return $this->_send_and_receive($req, 'GET');
    }