Файл: _rootinc/cnic/Response/ListOutstandingDomains.php
Строк: 40
<?
// CNic_Toolkit_Response_ListOutstandingDomains - response object listing outstanding domains
// Copyright (c) 2010 CentralNic Ltd. All rights reserved. This program is
// free software; you can redistribute it and/or modify it under the terms
// of the GNU GPL
// $Id: ListOutstandingDomains.php,v 1.3 2010/03/31 12:03:03 gavin Exp $
class CNic_Toolkit_Response_ListOutstandingDomains extends CNic_Toolkit_Response {
public function domains() {
$domains = array();
foreach ($this->keys() as $domain) {
$info = $this->response($domain);
if (is_array($info)) {
$info['domain'] = $domain;
$domains[] = $info;
}
}
return $domains;
}
}
?>