public function lists($filters = array(), $start=0, $end=100, $sort_field="created", $sort_dir="DESC")
    {

        $payload = array(
            'id' => $this->listId,
            'filters' => $filters,
            'start' => $start,
            'end' => $end,
            'sort_field' => $sort_field,
            'sort_dir' => $sort_dir
        );
        $apiCall = 'lists/list';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return isset($data) ? $data : false;
    }
public function lists($filters = array(), $start=0, $end=100, $sort_field="created", $sort_dir="DESC")
    {

        $payload = array(
            'id' => $this->listId,
            'filters' => $filters,
            'start' => $start,
            'end' => $end,
            'sort_field' => $sort_field,
            'sort_dir' => $sort_dir
        );
        $apiCall = 'lists/list';
        $data = $this->requestMonkey($apiCall, $payload);
        $data = json_decode($data, true);
        if (isset($data['error']))
            throw new MailchimpAPIException($data);
        else
            return isset($data) ? $data : false;
    }
public function lists ( $ filters = array ( ) , $ start = 0 , $ end = 100 , $ sort_field = "created" , $ sort_dir = "DESC" ) { $ payload = array ( 'id' => $ this -> listId , 'filters' => $ filters , 'start' => $ start , 'end' => $ end , 'sort_field' => $ sort_field , 'sort_dir' => $ sort_dir ) ; $ apiCall = 'lists/list' ; $ data = $ this -> requestMonkey ( $ apiCall , $ payload ) ; $ data = json_decode ( $ data , true ) ; if ( isset ( $ data [ 'error' ] ) ) throw new MailchimpAPIException ( $ data ) ; else return isset ( $ data ) ? $ data : false ; }
Retrieve all of the lists defined for your user account

@link http://apidocs.mailchimp.com/api/2.0/lists/list.php
@param array $filters optional - filters to apply to this query
@param integer $start optional - optional - control paging of lists, start results at this list #, defaults to 1st page of data (page 0)
@param integer $end optional - optional - control paging of lists, number of lists to return with each call, defaults to 25 (max=100)
@param string $sort_field optional - optional - "created" (the created date, default) or "web" (the display order in the web app). Invalid values will fall back on "created" - case insensitive.
@param string $sort_dir optional - optional - "DESC" for descending (default), "ASC" for Ascending. Invalid values will fall back on "created" - case insensitive. Note: to get the exact display order as the web app you'd use "web" and "ASC"
@return array lists
@throws MailchimpAPIException
Retrieve all of the lists defined for your user account