public function get_list($id) {
        foreach (array(self::INDEX_LISTS, self::INDEX_LIST) as $k) {
            $key = $this->baseurl . '/' . $k . $id;
            if (isset($this->raw[$key])) {
                return new ReadingList($this->api, $this->baseurl, $id, $this->raw[$key]);
            }
        }

        return null;
    }
public function get_list($id) {
        foreach (array(self::INDEX_LISTS, self::INDEX_LIST) as $k) {
            $key = $this->baseurl . '/' . $k . $id;
            if (isset($this->raw[$key])) {
                return new ReadingList($this->api, $this->baseurl, $id, $this->raw[$key]);
            }
        }

        return null;
    }
public function get_list ( $ id ) { foreach ( array ( self :: INDEX_LISTS , self :: INDEX_LIST ) as $ k ) { $ key = $ this -> baseurl . '/' . $ k . $ id ; if ( isset ( $ this -> raw [ $ key ] ) ) { return new ReadingList ( $ this -> api , $ this -> baseurl , $ id , $ this -> raw [ $ key ] ) ; } } return null ; }
Returns a list object for a specific list.

@param string $id Returns a list with a specified ID.
Returns a list object for a specific list .