init item list
This commit is contained in:
@@ -23,6 +23,7 @@ class Feed extends PhpObject {
|
|||||||
$asDesc['link'] = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME'].'/rss';
|
$asDesc['link'] = 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['SCRIPT_NAME'].'/rss';
|
||||||
}
|
}
|
||||||
$this->asDesc = $asDesc;
|
$this->asDesc = $asDesc;
|
||||||
|
$this->asItems = array();
|
||||||
array_walk($asItems, array($this, 'addItem'));
|
array_walk($asItems, array($this, 'addItem'));
|
||||||
$this->sCssFile = $sCssFile;
|
$this->sCssFile = $sCssFile;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user