Documentation TYPO3 par Ameos |
Public Member Functions | |
| searchExtensionsXML ($search, $owner='', $order='', $allExt=false, $allVer=false, $offset=0, $limit=500) | |
| countExtensions () | |
| loadExtensionsXML () | |
| freeExtensionsXML () | |
| removeObsolete (&$extensions) | |
| getReviewState ($extKey, $version) | |
| checkReviewState (&$extensions) | |
| checkReviewStateGlobal () | |
| startElement ($parser, $name, $attrs) | |
| endElement ($parser, $name) | |
| characterData ($parser, $data) | |
| parseExtensionsXML ($filename) | |
| storeXMLResult () | |
| parseMirrorsXML ($string) | |
| parseL10nXML ($string) | |
Public Attributes | |
| $emObj | |
| $extXMLResult = array() | |
| $extensionsXML = array() | |
| $reviewStates = null | |
| $useUnchecked = false | |
| $useObsolete = false | |
Definition at line 38 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::searchExtensionsXML | ( | $ | search, | |
| $ | owner = '', |
|||
| $ | order = '', |
|||
| $ | allExt = false, |
|||
| $ | allVer = false, |
|||
| $ | offset = 0, |
|||
| $ | limit = 500 | |||
| ) |
Reduces the entries in $this->extensionsXML to the latest version per extension and removes entries not matching the search parameter
| string | $search The list of extensions is reduced to entries matching this. If empty, the full list is returned. | |
| string | $owner If set only extensions of that user are fetched | |
| string | $order A field to order the result by | |
| boolean | $allExt If set also unreviewed and obsolete extensions are shown | |
| boolean | $allVer If set returns all version of an extension, otherwise only the last | |
| integer | $offset Offset to return result from (goes into LIMIT clause) | |
| integer | $limit Maximum number of entries to return (goes into LIMIT clause) |
Definition at line 64 of file class.em_xmlhandler.php.
Referenced by loadExtensionsXML().
| SC_mod_tools_em_xmlhandler::loadExtensionsXML | ( | ) |
Loads the pre-parsed extension list
Definition at line 152 of file class.em_xmlhandler.php.
References searchExtensionsXML().
| SC_mod_tools_em_xmlhandler::freeExtensionsXML | ( | ) |
Frees the pre-parsed extension list
Definition at line 161 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::removeObsolete | ( | &$ | extensions | ) |
Removes all extension with a certain state from the list
| array | &$extensions The "versions" subpart of the extension list |
Definition at line 172 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::getReviewState | ( | $ | extKey, | |
| $ | version | |||
| ) |
Returns the reviewstate of a specific extension-key/version
| string | $extKey | |
| string | $version: ... |
Definition at line 189 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::checkReviewState | ( | &$ | extensions | ) |
Removes all extension versions from $extensions that have a reviewstate<1, unless explicitly allowed
| array | &$extensions The "versions" subpart of the extension list |
Definition at line 205 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::checkReviewStateGlobal | ( | ) |
Removes all extension versions from the list of available extensions that have a reviewstate<1, unless explicitly allowed
Definition at line 220 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::startElement | ( | $ | parser, | |
| $ | name, | |||
| $ | attrs | |||
| ) |
Enter description here...
| unknown_type | $parser | |
| unknown_type | $name | |
| unknown_type | $attrs |
Definition at line 244 of file class.em_xmlhandler.php.
Referenced by parseExtensionsXML().
| SC_mod_tools_em_xmlhandler::endElement | ( | $ | parser, | |
| $ | name | |||
| ) |
Enter description here...
| unknown_type | $parser | |
| unknown_type | $name |
Definition at line 267 of file class.em_xmlhandler.php.
Referenced by parseExtensionsXML().
| SC_mod_tools_em_xmlhandler::characterData | ( | $ | parser, | |
| $ | data | |||
| ) |
Enter description here...
| unknown_type | $parser | |
| unknown_type | $data |
Definition at line 287 of file class.em_xmlhandler.php.
Referenced by parseExtensionsXML().
| SC_mod_tools_em_xmlhandler::parseExtensionsXML | ( | $ | filename | ) |
Parses content of mirrors.xml into a suitable array
| string | XML data file to parse |
Definition at line 315 of file class.em_xmlhandler.php.
References characterData(), endElement(), and startElement().
| SC_mod_tools_em_xmlhandler::parseMirrorsXML | ( | $ | string | ) |
Parses content of mirrors.xml into a suitable array
| string | $string: XML data to parse |
Definition at line 475 of file class.em_xmlhandler.php.
| SC_mod_tools_em_xmlhandler::parseL10nXML | ( | $ | string | ) |
Parses content of *-l10n.xml into a suitable array
| string | $string: XML data to parse |
Definition at line 552 of file class.em_xmlhandler.php.
1.4.6