PHP Class LibCloud\Dns\Model\Zone

Show file Open project: linkorb/libcloud-php Class Usage Examples

Protected Properties

Property Type Description
$domain string The name of the domain
$extra array (optional) Extra attributes (driver specific)
$id string Zone id
$provider string DNS provider name
$ttl integer Default TTL for records in this zone (in seconds)
$type string Zone type (master, slave)

Public Methods

Method Description
__construct ( $id, $domain, $type, $ttl, $provider, $extra = [] )
getDomain ( ) : string
getExtra ( ) : mixed
getId ( ) : string
getProvider ( ) : string
getTtl ( ) : integer
getType ( ) : string
setDomain ( string $domain )
setExtra ( mixed $extra )
setId ( string $id )
setProvider ( string $provider )
setTtl ( integer $ttl )
setType ( string $type )

Method Details

__construct() public method

public __construct ( $id, $domain, $type, $ttl, $provider, $extra = [] )

getDomain() public method

public getDomain ( ) : string
return string

getExtra() public method

public getExtra ( ) : mixed
return mixed

getId() public method

public getId ( ) : string
return string

getProvider() public method

public getProvider ( ) : string
return string

getTtl() public method

public getTtl ( ) : integer
return integer

getType() public method

public getType ( ) : string
return string

setDomain() public method

public setDomain ( string $domain )
$domain string

setExtra() public method

public setExtra ( mixed $extra )
$extra mixed

setId() public method

public setId ( string $id )
$id string

setProvider() public method

public setProvider ( string $provider )
$provider string

setTtl() public method

public setTtl ( integer $ttl )
$ttl integer

setType() public method

public setType ( string $type )
$type string

Property Details

$domain protected property

The name of the domain
protected string $domain
return string

$extra protected property

(optional) Extra attributes (driver specific)
protected array $extra
return array

$id protected property

Zone id
protected string $id
return string

$provider protected property

DNS provider name
protected string $provider
return string

$ttl protected property

Default TTL for records in this zone (in seconds)
protected int $ttl
return integer

$type protected property

Zone type (master, slave)
protected string $type
return string