You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
34
vendor/oss-sdk/src/OSS/Model/GetLiveChannelHistory.php
vendored
Executable file
34
vendor/oss-sdk/src/OSS/Model/GetLiveChannelHistory.php
vendored
Executable file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace OSS\Model;
|
||||
/**
|
||||
* Class GetLiveChannelHistory
|
||||
* @package OSS\Model
|
||||
*/
|
||||
class GetLiveChannelHistory implements XmlConfig
|
||||
{
|
||||
public function getLiveRecordList()
|
||||
{
|
||||
return $this->liveRecordList;
|
||||
}
|
||||
|
||||
public function parseFromXml($strXml)
|
||||
{
|
||||
$xml = simplexml_load_string($strXml);
|
||||
|
||||
if (isset($xml->LiveRecord)) {
|
||||
foreach ($xml->LiveRecord as $record) {
|
||||
$liveRecord = new LiveChannelHistory();
|
||||
$liveRecord->parseFromXmlNode($record);
|
||||
$this->liveRecordList[] = $liveRecord;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function serializeToXml()
|
||||
{
|
||||
throw new OssException("Not implemented.");
|
||||
}
|
||||
|
||||
private $liveRecordList = array();
|
||||
}
|
Reference in New Issue
Block a user