PHP Class DBDNSZone

Exibir arquivo 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_oe property

public $allowManageSystemRecords

$allowedAccounts public_oe property

public $allowedAccounts

$axfrAllowedHosts public_oe property

public $axfrAllowedHosts

$clientId public_oe property

public $clientId

$dateLastModified public_oe property

public $dateLastModified

$envId public_oe property

public $envId

$farmId public_oe property

public $farmId

$farmRoleId public_oe property

public $farmRoleId

$id public_oe property

public $id

$isOnNsServer public_oe property

public $isOnNsServer

$isZoneConfigModified public_oe property

public $isZoneConfigModified

$privateRootRecords public_oe property

public $privateRootRecords

$soaExpire public_oe property

public $soaExpire

$soaMinTtl public_oe property

public $soaMinTtl

$soaOwner public_oe property

public $soaOwner

$soaParent public_oe property

public $soaParent

$soaRefresh public_oe property

public $soaRefresh

$soaRetry public_oe property

public $soaRetry

$soaSerial public_oe property

public $soaSerial

$soaTtl public_oe property

public $soaTtl

$status public_oe property

public $status

$zoneName public_oe property

public $zoneName