public function listModels($optParams = array()) {
      $data = $this->__call('list', array($optParams));

      if ($this->useObjects()) {
        return new ListModel($data);
      } else {
        return $data;
      }
    }
public function listModels($optParams = array()) {
      $data = $this->__call('list', array($optParams));

      if ($this->useObjects()) {
        return new ListModel($data);
      } else {
        return $data;
      }
    }
public function listModels ( $ optParams = array ( ) ) { $ data = $ this -> __call ( 'list' , array ( $ optParams ) ) ; if ( $ this -> useObjects ( ) ) { return new ListModel ( $ data ) ; } else { return $ data ; } }
Executes "list" api method. list is a php saved keyword and therefore it can't be used as method name

@param array $optParams
Executes list api method . list is a php saved keyword and therefore it can t be used as method name