Strict Standards: Declaration of xml_domit_rss_simpleelement::getElementText() should be compatible with that of xml_domit_rss_elementindexer::getElementText() in /opt/lampp/htdocs/Avatar/rssthai/xml_domit_rss_shared.php on line 848
Strict Standards: Declaration of xml_domit_rss_collection::getElementText() should be compatible with that of xml_domit_rss_elementindexer::getElementText() in /opt/lampp/htdocs/Avatar/rssthai/xml_domit_rss_shared.php on line 148
Code (PHP)
class xml_domit_rss_collection extends xml_domit_rss_elementindexer {
/** @var array An array holding the collection of custom elements */
var $elements = array();
/** @var int The number of custom elements in the collection */
var $elementCount = 0;
/**
* Adds a custom RSS element (DOM node) to the collection
* @param Object A DOM node representing a custom RSS element
*/
function addElement(&$node) {
$this->elements[] =& $node;
$this->elementCount++;
} //addElement
/**
* Retrieves the element at the specified index
* @param int The index of the requested custom RSS element
* @return Object The DOMIT node representing the requested element
*/
function &getElementAt($index) {
return $this->elements[$index];
} //getElementAt
class xml_domit_rss_collection extends xml_domit_rss_elementindexer { < --------------- อันนี้คือบันทัดที่ 148 ค่ะ