"TYPO3 4.0.1: SC_mod_tools_em_xmlhandler Class Reference", "datetime" => "Sat Dec 2 19:25:31 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

SC_mod_tools_em_xmlhandler Class Reference

List of all members.

Public Member Functions

 searchExtensionsXML ($search, $owner='')
 checkOwner ($extkey, $owner)
 loadExtensionsXML ()
 loadReviewStates ()
 saveExtensionsXML ()
 freeExtensionsXML ()
 removeObsolete (&$extensions)
 getReviewState ($extKey, $version)
 checkReviewState (&$extensions)
 checkReviewStateGlobal ()
 startElement ($parser, $name, $attrs)
 endElement ($parser, $name)
 characterData ($parser, $data)
 parseExtensionsXML ($string)
 parseMirrorsXML ($string)
 parseL10nXML ($string)

Public Attributes

 $emObj
 $extXMLResult = array()
 $extensionsXML = array()
 $reviewStates = null
 $useUnchecked = false
 $useObsolete = false

Detailed Description

Definition at line 38 of file class.em_xmlhandler.php.


Member Function Documentation

SC_mod_tools_em_xmlhandler::characterData parser,
data
 

Enter description here...

Parameters:
unknown_type $parser
unknown_type $data
Returns:
[type] ...

Definition at line 276 of file class.em_xmlhandler.php.

Referenced by parseExtensionsXML().

SC_mod_tools_em_xmlhandler::checkOwner extkey,
owner
 

Checks whether at least one of the extension versions is owned by the given username

Parameters:
string $extkey
string $owner
Returns:
boolean

Definition at line 98 of file class.em_xmlhandler.php.

Referenced by searchExtensionsXML().

SC_mod_tools_em_xmlhandler::checkReviewState &$  extensions  ) 
 

Removes all extension versions from $extensions that have a reviewstate<1, unless explicitly allowed

Parameters:
array &$extensions The "versions" subpart of the extension list
Returns:
void

Definition at line 194 of file class.em_xmlhandler.php.

Referenced by searchExtensionsXML().

SC_mod_tools_em_xmlhandler::checkReviewStateGlobal  ) 
 

Removes all extension versions from the list of available extensions that have a reviewstate<1, unless explicitly allowed

Returns:
void

Definition at line 209 of file class.em_xmlhandler.php.

SC_mod_tools_em_xmlhandler::endElement parser,
name
 

Enter description here...

Parameters:
unknown_type $parser
unknown_type $name
Returns:
[type] ...

Definition at line 256 of file class.em_xmlhandler.php.

Referenced by parseExtensionsXML().

SC_mod_tools_em_xmlhandler::freeExtensionsXML  ) 
 

Frees the pre-parsed extension list

Returns:
void

Definition at line 150 of file class.em_xmlhandler.php.

SC_mod_tools_em_xmlhandler::getReviewState extKey,
version
 

Enter description here...

Parameters:
string $extKey
string $version: ...
Returns:
integer Review state, if none is set 0 is returned as default.

Definition at line 178 of file class.em_xmlhandler.php.

References loadReviewStates().

SC_mod_tools_em_xmlhandler::loadExtensionsXML  ) 
 

Loads the pre-parsed extension list

Returns:
boolean true on success, false on error

Definition at line 110 of file class.em_xmlhandler.php.

References t3lib_div::getURL().

Referenced by searchExtensionsXML().

SC_mod_tools_em_xmlhandler::loadReviewStates  ) 
 

Loads the pre-parsed extension list

Returns:
boolean true on success, false on error

Definition at line 125 of file class.em_xmlhandler.php.

References t3lib_div::getURL().

Referenced by getReviewState().

SC_mod_tools_em_xmlhandler::parseExtensionsXML string  ) 
 

Parses content of mirrors.xml into a suitable array

Parameters:
string XML data file to parse
Returns:
string HTLML output informing about result

Definition at line 304 of file class.em_xmlhandler.php.

References characterData(), endElement(), and startElement().

SC_mod_tools_em_xmlhandler::parseL10nXML string  ) 
 

Parses content of *-l10n.xml into a suitable array

Parameters:
string $string: XML data to parse
Returns:
array Array representation of XML data

Definition at line 417 of file class.em_xmlhandler.php.

SC_mod_tools_em_xmlhandler::parseMirrorsXML string  ) 
 

Parses content of mirrors.xml into a suitable array

Parameters:
string $string: XML data to parse
Returns:
string HTLML output informing about result

Definition at line 340 of file class.em_xmlhandler.php.

SC_mod_tools_em_xmlhandler::removeObsolete &$  extensions  ) 
 

Removes all extension with a certain state from the list

Parameters:
array &$extensions The "versions" subpart of the extension list
Returns:
void

Definition at line 161 of file class.em_xmlhandler.php.

Referenced by searchExtensionsXML().

SC_mod_tools_em_xmlhandler::saveExtensionsXML  ) 
 

Enter description here...

Returns:
[type] ...

Definition at line 140 of file class.em_xmlhandler.php.

References t3lib_div::writeFile().

SC_mod_tools_em_xmlhandler::searchExtensionsXML search,
owner = ''
 

Reduces the entries in $this->extensionsXML to the latest version per extension and removes entries not matching the search parameter

Parameters:
string $search The list of extensions is reduced to entries matching this. If empty, the full list is returned.
boolean $latest If true, only the latest version is kept in the list
Returns:
[type] ...

Definition at line 59 of file class.em_xmlhandler.php.

References checkOwner(), checkReviewState(), loadExtensionsXML(), and removeObsolete().

SC_mod_tools_em_xmlhandler::startElement parser,
name,
attrs
 

Enter description here...

Parameters:
unknown_type $parser
unknown_type $name
unknown_type $attrs
Returns:
[type] ...

Definition at line 233 of file class.em_xmlhandler.php.

Referenced by parseExtensionsXML().


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