public function getStats()
    {
        $service = $this->getService();

        // stats for a site
        $response = $service->request('stats', 'GET', NULL, $this->getParams());

        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $responseArray;
        } else {
            $this->_data = array();
        }

        return $this;
    }
public function getStats()
    {
        $service = $this->getService();

        // stats for a site
        $response = $service->request('stats', 'GET', NULL, $this->getParams());

        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $responseArray;
        } else {
            $this->_data = array();
        }

        return $this;
    }
public function getStats ( ) { $ service = $ this -> getService ( ) ; // stats for a site $ response = $ service -> request ( 'stats' , 'GET' , NULL , $ this -> getParams ( ) ) ; $ responseArray = $ this -> getResponseArray ( $ response ) ; if ( ! $ this -> isError ( ) ) { $ this -> _data = $ responseArray ; } else { $ this -> _data = array ( ) ; } return $ this ; }
Get stats for a site

@return Stats
Get stats for a site