Overview

Namespaces

  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Collection
      • Constants
      • Exceptions
      • Http
        • Message
      • Identity
      • Log
      • Service
    • Compute
      • Constants
      • Exception
      • Resource
    • Database
      • Resource
    • DNS
      • Resource
    • LoadBalancer
      • Resource
    • ObjectStore
      • Constants
      • Exception
      • Resource
      • Upload
    • Orchestration
    • Queues
      • Exception
      • Resource
    • Volume
      • Resource
  • PHP

Classes

  • AsyncResponse
  • Domain
  • Object
  • PtrRecord
  • Record
  • Subdomain
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * PHP OpenCloud library.
 4:  * 
 5:  * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
 6:  * @license   https://www.apache.org/licenses/LICENSE-2.0
 7:  * @author    Glen Campbell <glen.campbell@rackspace.com>
 8:  * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
 9:  */
10: 
11: namespace OpenCloud\DNS\Resource;
12: 
13: /**
14:  * The Subdomain is basically another domain, albeit one that is a child of
15:  * a parent domain. In terms of the code involved, the JSON is slightly
16:  * different than a top-level domain, and the parent is a domain instead of
17:  * the DNS service itself.
18:  */
19: class Subdomain extends Domain 
20: {
21: 
22:     protected static $json_name = false;
23:     protected static $json_collection_name = 'domains';
24:     protected static $url_resource = 'subdomains';
25: 
26: }
27: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0