\OSS\ModelCnameConfig

Class CnameConfig

Summary

Methods
Properties
Constants
__construct()
getCnames()
addCname()
parseFromXml()
serializeToXml()
__toString()
No public properties found
OSS_MAX_RULES
No protected methods found
No protected properties found
N/A
No private methods found
$cnameList
N/A

Constants

OSS_MAX_RULES

OSS_MAX_RULES = 10

Properties

$cnameList

$cnameList

Methods

__construct()

__construct() : mixed

Returns

mixed —

getCnames()

getCnames() : array

Returns

array —

Examples

array(2) { [0]=> array(3) { ["Domain"]=> string(11) "www.foo.com" ["Status"]=> string(7) "enabled" ["LastModified"]=> string(8) "20150101" } [1]=> array(3) { ["Domain"]=> string(7) "bar.com" ["Status"]=> string(8) "disabled" ["LastModified"]=> string(8) "20160101" } }

                                                

addCname()

addCname(mixed  $cname) : mixed

Parameters

mixed $cname

Returns

mixed —

parseFromXml()

parseFromXml(mixed  $strXml) : null

Interface method: Parse the object from the xml.

Parameters

mixed $strXml

Returns

null —

serializeToXml()

serializeToXml() : string

Interface method: Serialize the object into xml.

Returns

string —

__toString()

__toString() : mixed

Returns

mixed —