Esempio n. 1
0
 /**
  * Get domain names list
  *
  * @param array $options
  * @return array
  */
 public function getList(array $options = null)
 {
     $gandi = $this->gandi->getProxy('domain');
     $result = $gandi->list($this->api_key, $options);
     $data = array();
     foreach ($result as $current) {
         $domain = new Domain($current['fqdn']);
         $domain->setId($current['id']);
         $data[] = $domain;
     }
     return $data;
 }