public function getAll()
    {
        // build url
        $url = $this->base_url . $this->url;
        // get data from server
        $data = $this->getDataFromUrl($url);
        // parse result set and get data as array
        $result = $this->parseJsonData($data);
        
        return $result;
    }
public function getAll()
    {
        // build url
        $url = $this->base_url . $this->url;
        // get data from server
        $data = $this->getDataFromUrl($url);
        // parse result set and get data as array
        $result = $this->parseJsonData($data);
        
        return $result;
    }
public function getAll ( ) { // build url $ url = $ this -> base_url . $ this -> url ; // get data from server $ data = $ this -> getDataFromUrl ( $ url ) ; // parse result set and get data as array $ result = $ this -> parseJsonData ( $ data ) ; return $ result ; }
get all data from url

@return array|mixed get all data from url
get all data from url