PHP Class DBDNSZone

Show file Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$allowManageSystemRecords
$allowedAccounts
$axfrAllowedHosts
$clientId
$dateLastModified
$envId
$farmId
$farmRoleId
$id
$isOnNsServer
$isZoneConfigModified
$privateRootRecords
$soaExpire
$soaMinTtl
$soaOwner
$soaParent
$soaRefresh
$soaRetry
$soaSerial
$soaTtl
$status
$zoneName

Public Methods

Method Description
__construct ( $id = null )
create ( unknown_type $zoneName, unknown_type $soaRefresh, unknown_type $soaExpire, $soaOwner, $soaRetry = 7200 ) : DBDNSZone
getContents ( $config_contents = false )
getFarmObject ( ) : DBFarm Gets DBFarm object
getRecords ( $includeSystem = true )
loadByFarmId ( integer $farm_id ) : array
loadById ( integer $id ) : DBDNSZone
remove ( )
save ( $update_system_records = false )
setRecords ( $records )
updateSystemRecords ( $server_id = null )

Protected Methods

Method Description
removeFromPowerDns ( )

Private Methods

Method Description
IsDomain ( $var, $name = null, $error = null, $allowed_utf8_chars = "", $disallowed_utf8_chars = "" )
getBehaviorsRecords ( DBServer $dbServer )
getDbRecords ( DBServer $dbServer )
getServerDNSRecords ( DBServer $DBServer )
loadRecords ( )
unBind ( )

Method Details

__construct() public method

public __construct ( $id = null )

create() public static method

public static create ( unknown_type $zoneName, unknown_type $soaRefresh, unknown_type $soaExpire, $soaOwner, $soaRetry = 7200 ) : DBDNSZone
$zoneName unknown_type
$soaRefresh unknown_type
$soaExpire unknown_type
return DBDNSZone

getContents() public method

public getContents ( $config_contents = false )

getFarmObject() public method

Gets DBFarm object
public getFarmObject ( ) : DBFarm
return DBFarm

getRecords() public method

public getRecords ( $includeSystem = true )

loadByFarmId() public static method

public static loadByFarmId ( integer $farm_id ) : array
$farm_id integer
return array

loadById() public static method

public static loadById ( integer $id ) : DBDNSZone
$id integer
return DBDNSZone

remove() public method

public remove ( )

removeFromPowerDns() protected method

protected removeFromPowerDns ( )

save() public method

public save ( $update_system_records = false )

setRecords() public method

public setRecords ( $records )

updateSystemRecords() public method

public updateSystemRecords ( $server_id = null )

Property Details

$allowManageSystemRecords public property

public $allowManageSystemRecords

$allowedAccounts public property

public $allowedAccounts

$axfrAllowedHosts public property

public $axfrAllowedHosts

$clientId public property

public $clientId

$dateLastModified public property

public $dateLastModified

$envId public property

public $envId

$farmId public property

public $farmId

$farmRoleId public property

public $farmRoleId

$id public property

public $id

$isOnNsServer public property

public $isOnNsServer

$isZoneConfigModified public property

public $isZoneConfigModified

$privateRootRecords public property

public $privateRootRecords

$soaExpire public property

public $soaExpire

$soaMinTtl public property

public $soaMinTtl

$soaOwner public property

public $soaOwner

$soaParent public property

public $soaParent

$soaRefresh public property

public $soaRefresh

$soaRetry public property

public $soaRetry

$soaSerial public property

public $soaSerial

$soaTtl public property

public $soaTtl

$status public property

public $status

$zoneName public property

public $zoneName