OpenCloud/DNS/Record.php

Properties

Description

Defines a DNS record

Classes

Record

Properties

 
 
 
No 
No 

Description

The Record class represents a single domain record
This is also used for PTR records.

Methods

Parent, __construct,

Parent( ) : \OpenCloud\DNS\Domain

Description

returns the parent domain

Return value

Type Description
\OpenCloud\DNS\Domain

__construct( mixed   $parent, mixed   $info = null, ) : void

Description

create a new record object

Arguments

Name Type Description Default
$parent mixed

either the domain object or the DNS object (for PTR)

$info mixed

ID or array/object of data for the object

null

Return value

Type Description
void

Properties

$_create_keys, $_parent, $_update_keys, $comment, $created, $data, $id, $json_collection_name, $json_name, $name, $priority, $ttl, $type, $updated, $url_resource,

  protected  $_create_keys = array('type', 'name', 'ttl', 'data', 'priority', 'comment')




  protected  $_parent =




  protected  $_update_keys = array('name', 'ttl', 'data', 'priority', 'comment')




  public  $comment =




  public  $created =




  public  $data =




  public  $id =




  protected  static $json_collection_name = 'records'




  protected  static $json_name = false




  public  $name =




  public  $priority =




  public  $ttl =




  public  $type =




  public  $updated =




  protected  static $url_resource = 'records'




Documentation was generated by phpDocumentor 2.0.0b6 .

Namespaces

Packages