Overview

Namespaces

  • None
  • OpenCloud
    • Autoscale
      • Resource
    • CloudMonitoring
      • Exception
      • Resource
    • Common
      • Exceptions
      • Log
      • Request
        • Response
    • Compute
    • Database
    • DNS
    • LoadBalancer
      • Resources
    • ObjectStore
      • Resource
    • Orchestration
    • Volume
  • PHP

Classes

  • Access
  • Algorithm
  • AllowedDomain
  • BillableLoadBalancer
  • ConnectionLogging
  • ConnectionThrottle
  • ContentCaching
  • ErrorPage
  • HealthMonitor
  • LoadBalancer
  • Metadata
  • Node
  • NodeEvent
  • Protocol
  • Readonly
  • SessionPersistence
  • SSLTermination
  • Stats
  • SubResource
  • Usage
  • VirtualIp
  • Overview
  • Namespace
  • Class
  • Tree
  • Download
 1: <?php
 2: /**
 3:  * PHP OpenCloud library.
 4:  * 
 5:  * @copyright Copyright 2013 Rackspace US, Inc. See COPYING for licensing information.
 6:  * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache 2.0
 7:  * @version   1.6.0
 8:  * @author    Glen Campbell <glen.campbell@rackspace.com>
 9:  * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
10:  */
11: 
12: namespace OpenCloud\LoadBalancer\Resources;
13: 
14: /**
15:  * This defines a read-only SubResource - one that cannot be created, updated,
16:  * or deleted. Many subresources are like this, and this simplifies their
17:  * class definitions.
18:  */
19: abstract class Readonly extends SubResource 
20: {
21:     
22:     public function create($params = array()) 
23:     { 
24:         return $this->noCreate(); 
25:     }
26: 
27:     public function update($params = array()) 
28:     { 
29:         return $this->noUpdate(); 
30:     }
31: 
32:     public function delete() 
33:     { 
34:         return $this->noDelete(); 
35:     }
36: 
37: }
38: 
PHP OpenCloud API API documentation generated by ApiGen 2.8.0