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

  • AsyncResponse
  • Domain
  • Object
  • PtrRecord
  • Record
  • Service
  • Subdomain
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Class Record

The Record class represents a single domain record

This is also used for PTR records.

OpenCloud\Common\Base
Extended by OpenCloud\Common\PersistentObject
Extended by OpenCloud\DNS\Object
Extended by OpenCloud\DNS\Record

Direct known subclasses

OpenCloud\DNS\PtrRecord
Namespace: OpenCloud\DNS
Located at OpenCloud/DNS/Record.php
Methods summary
public
# __construct( mixed $parent, mixed $info = null )

create a new record object

create a new record object

Parameters

$parent
mixed
$parent either the domain object or the DNS object (for PTR)
$info
mixed
$info ID or array/object of data for the object

Overrides

OpenCloud\Common\PersistentObject::__construct()
public OpenCloud\DNS\Domain
# Parent( )

returns the parent domain

returns the parent domain

Returns

OpenCloud\DNS\Domain
Methods inherited from OpenCloud\DNS\Object
create(), createJson(), delete(), getCreateKeys(), getUpdateKeys(), update(), updateJson()
Methods inherited from OpenCloud\Common\PersistentObject
__set(), action(), checkExtension(), createUrl(), customAction(), findLink(), getParent(), getService(), id(), jsonCollectionElement(), jsonCollectionName(), jsonName(), name(), noCreate(), noDelete(), noUpdate(), parent(), primaryKeyField(), refresh(), region(), resourceName(), service(), setParent(), setService(), status(), url(), waitFor()
Methods inherited from OpenCloud\Common\Base
checkJsonError(), getHttpRequestObject(), getLogger(), makeQueryString(), populate(), setLogger(), setProperty()
Properties summary
public mixed $ttl
#
public mixed $updated
#
public mixed $created
#
public mixed $name
#
public mixed $id
#
public mixed $type
#
public mixed $data
#
public mixed $priority
#
public mixed $comment
#
protected static boolean $json_name false
#
protected static string $json_collection_name 'records'
#
protected static string $url_resource 'records'
#
protected mixed $parent
#
protected array $updateKeys array( 'name', 'ttl', 'data', 'priority', 'comment' )
#
protected array $createKeys array( 'type', 'name', 'ttl', 'data', 'priority', 'comment' )
#
PHP OpenCloud API API documentation generated by ApiGen 2.8.0