\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

Properties

$cnameList

$cnameList : 

Type

Methods

__construct()

__construct() 

getCnames()

getCnames() : array

Returns

array

Examples

{ [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" } }
** File not found : array(2) **

addCname()

addCname(  $cname) 

Parameters

$cname

parseFromXml()

parseFromXml(string  $strXml) : null

接口定义,实现此接口的类都需要实现从xml数据解析的函数

Parameters

string $strXml

Returns

null

serializeToXml()

serializeToXml() : string

接口定义,实现此接口的类,都需要实现把子类序列化成xml字符串的接口

Returns

string

__toString()

__toString()