XOOPS  2.6.0
XoopsXmlRss2Parser Class Reference
Inheritance diagram for XoopsXmlRss2Parser:
Inheritance graph

Public Member Functions

 __construct (&$input)
 
 getChannelData ($name=null)
 
 getImageData ($name=null)
 
 getItems ()
 
 getTempArr ()
 
 resetTempArr ()
 
 setChannelData ($name, &$value)
 
 setImageData ($name, &$value)
 
 setItems (&$itemarr)
 
 setTempArr ($name, &$value, $delim= '')
 
- Public Member Functions inherited from SaxParser
 __construct (&$input)
 
 addTagHandler (XmlTagHandler &$tagHandler)
 
 free ()
 
 getCurrentLevel ()
 
 getCurrentTag ()
 
 getErrors ($ashtml=true)
 
 getParentTag ()
 
 handleBeginElement ($parser, $tagName, $attributesArray)
 
 handleBeginElementDefault ($parser, $tagName, $attributesArray)
 
 handleCharacterData ($parser, $data)
 
 handleCharacterDataDefault ($parser, $data)
 
 handleDefault ($parser, $data)
 
 handleEndElement ($parser, $tagName)
 
 handleEndElementDefault ($parser, $tagName)
 
 handleExternalEntityRef ($parser, $openEntityNames, $base, $systemId, $publicId)
 
 handleNotationDecl ($parser, $notationName, $base, $systemId, $publicId)
 
 handleProcessingInstruction ($parser, &$target, &$data)
 
 handleUnparsedEntityDecl ($parser, $entityName, $base, $systemId, $publicId, $notationName)
 
 parse ()
 
 setCaseFolding ($isCaseFolding)
 
 setErrors ($error)
 
 useAsciiEncoding ()
 
 useIsoEncoding ()
 
 useUtfEncoding ()
 

Private Attributes

 $_channelData = array()
 
 $_imageData = array()
 
 $_items = array()
 
 $_tempArr = array()
 

Additional Inherited Members

- Public Attributes inherited from SaxParser
 $errors = array()
 
 $isCaseFolding
 
 $level
 
 $parser
 
 $tagHandlers = array()
 
 $tags = array()
 
 $targetEncoding
 
 $xmlInput
 

Detailed Description

Definition at line 22 of file xmlrss2parser.php.

Constructor & Destructor Documentation

XoopsXmlRss2Parser::__construct ( $input)

Definition at line 44 of file xmlrss2parser.php.

References SaxParser\addTagHandler(), and SaxParser\useUtfEncoding().

Here is the call graph for this function:

Member Function Documentation

XoopsXmlRss2Parser::getChannelData (   $name = null)
Parameters
string$name
Returns
array|bool

Definition at line 91 of file xmlrss2parser.php.

References $_channelData, and $name.

XoopsXmlRss2Parser::getImageData (   $name = null)
Parameters
string$name
Returns
array|bool

Definition at line 116 of file xmlrss2parser.php.

References $_imageData, and $name.

XoopsXmlRss2Parser::getItems ( )
Returns
array

Definition at line 140 of file xmlrss2parser.php.

References $_items.

XoopsXmlRss2Parser::getTempArr ( )
Returns
array

Definition at line 163 of file xmlrss2parser.php.

References $_tempArr.

XoopsXmlRss2Parser::resetTempArr ( )
Returns
void

Definition at line 171 of file xmlrss2parser.php.

XoopsXmlRss2Parser::setChannelData (   $name,
$value 
)
Parameters
string$name
string$value
Returns
void

Definition at line 78 of file xmlrss2parser.php.

References $name.

XoopsXmlRss2Parser::setImageData (   $name,
$value 
)
Parameters
string$name
string$value
Returns
void

Definition at line 107 of file xmlrss2parser.php.

References $name.

XoopsXmlRss2Parser::setItems ( $itemarr)
Parameters
array$itemarr
Returns
void

Definition at line 132 of file xmlrss2parser.php.

XoopsXmlRss2Parser::setTempArr (   $name,
$value,
  $delim = '' 
)
Parameters
string$name
array$value
string$delim
Returns
void

Definition at line 151 of file xmlrss2parser.php.

References $name.

Member Data Documentation

XoopsXmlRss2Parser::$_channelData = array()
private

Definition at line 32 of file xmlrss2parser.php.

Referenced by getChannelData().

XoopsXmlRss2Parser::$_imageData = array()
private

Definition at line 37 of file xmlrss2parser.php.

Referenced by getImageData().

XoopsXmlRss2Parser::$_items = array()
private

Definition at line 42 of file xmlrss2parser.php.

Referenced by getItems().

XoopsXmlRss2Parser::$_tempArr = array()
private

Definition at line 27 of file xmlrss2parser.php.

Referenced by getTempArr().


The documentation for this class was generated from the following file: