\OSS\ModelWebsiteConfig

Class WebsiteConfig

Summary

Methods
Properties
Constants
__construct()
parseFromXml()
serializeToXml()
getIndexDocument()
getErrorDocument()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$indexDocument
$errorDocument
N/A

Properties

$indexDocument

$indexDocument : 

Type

$errorDocument

$errorDocument : 

Type

Methods

__construct()

__construct(string  $indexDocument = "", string  $errorDocument = "") 

WebsiteConfig constructor.

Parameters

string $indexDocument
string $errorDocument

parseFromXml()

parseFromXml(string  $strXml) : null

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

Parameters

string $strXml

Returns

null

serializeToXml()

serializeToXml() : string

把WebsiteConfig序列化成xml

Throws

\OSS\Core\OssException

Returns

string

getIndexDocument()

getIndexDocument() : string

Returns

string

getErrorDocument()

getErrorDocument() : string

Returns

string