\OSS\ModelRefererConfig

Class RefererConfig

Summary

Methods
Properties
Constants
parseFromXml()
serializeToXml()
__toString()
setAllowEmptyReferer()
addReferer()
isAllowEmptyReferer()
getRefererList()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$allowEmptyReferer
$refererList
N/A

Properties

$allowEmptyReferer

$allowEmptyReferer : 

Type

$refererList

$refererList : 

Type

Methods

parseFromXml()

parseFromXml(string  $strXml) : null

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

Parameters

string $strXml

Returns

null

serializeToXml()

serializeToXml() : string

把RefererConfig序列化成xml

Returns

string

__toString()

__toString() : string

Returns

string

setAllowEmptyReferer()

setAllowEmptyReferer(boolean  $allowEmptyReferer) 

Parameters

boolean $allowEmptyReferer

addReferer()

addReferer(string  $referer) 

Parameters

string $referer

isAllowEmptyReferer()

isAllowEmptyReferer() : boolean

Returns

boolean

getRefererList()

getRefererList() : array

Returns

array