ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
inc.xml5compliance.php File Reference

Go to the source code of this file.

Data Structures

class  php4DOMAttr
 
class  php4DOMCDATASection
 
class  php4DOMDocument
 
class  php4DOMElement
 php4DomElement More...
 
class  php4DOMNode
 php4DOMNode More...
 
class  php4DOMNodelist
 
class  php4DOMXPath
 

Functions

 staticxmlerror ($errno, $errstr, $errfile, $errline, $errcontext, $ret=false)
 
 domxml_open_file ($filename)
 
 domxml_open_mem ($str, $mode=0, &$error=null)
 
 xpath_eval ($xpath_context, $eval_str, $contextnode=null)
 
 xpath_new_context ($dom_document)
 

Variables

const DOMXML_LOAD_PARSING 0
 

Function Documentation

◆ domxml_open_file()

domxml_open_file (   $filename)

Definition at line 35 of file inc.xml5compliance.php.

References $filename.

◆ domxml_open_mem()

domxml_open_mem (   $str,
  $mode = 0,
$error = null 
)

Definition at line 45 of file inc.xml5compliance.php.

References $error.

Referenced by ilPageObject\buildDom(), ilPageObject\copyXmlContent(), ilPageLayout\generatePreview(), ilPCTable\importHtml(), ilSoapUserAdministration\importUsers(), ilNestedSetXML\initDom(), ilLMPresentationGUI\layout(), ilPCParagraph\linkTermsInDom(), ilPageObject\pasteContents(), ilPCSection\saveTimings(), ilPCDataTable\setData(), ilPCParagraph\setText(), and ilSoapUtils\validateXML().

46 {
47  if (!is_int($mode)) {
48  $mode = 0;
49  }
50  $doc = new php4DOMDocument($str, false, $mode);
51  if (!$doc->success) {
52  $error = $doc->error;
53  }
54 
55  return $doc;
56 }
$error
Definition: Error.php:17
+ Here is the caller graph for this function:

◆ staticxmlerror()

staticxmlerror (   $errno,
  $errstr,
  $errfile,
  $errline,
  $errcontext,
  $ret = false 
)

Definition at line 23 of file inc.xml5compliance.php.

References $ret, $tag, and array.

Referenced by php4DOMDocument\__construct().

24 {
25  static $errs = array();
26 
27  if ($ret === true) {
28  return $errs;
29  }
30 
31  $tag = 'DOMDocument::validate(): ';
32  $errs[] = str_replace($tag, '', $errstr);
33 }
Create styles array
The data for the language used.
$ret
Definition: parser.php:6
if(function_exists('posix_getuid') &&posix_getuid()===0) if(!array_key_exists('t', $options)) $tag
Definition: cron.php:35
+ Here is the caller graph for this function:

◆ xpath_eval()

xpath_eval (   $xpath_context,
  $eval_str,
  $contextnode = null 
)

Definition at line 58 of file inc.xml5compliance.php.

Referenced by ilPageObject\addChangeDivClasses(), ilPageObject\addFileSizes(), ilPageObject\addHierIDs(), ilPageObject\buildDom(), ilPageObject\checkForTag(), ilPageObject\checkPCIds(), ilPageObject\collectMediaObjects(), ilPageObject\countPageContents(), ilMediaAliasItem\deleteAllMapAreas(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilPageObject\existsPCId(), ilPageLayout\generatePreview(), ilPageObject\getAllFileObjIds(), ilPageObject\getAllPCIds(), ilPCTable\getCaption(), ilPCTable\getCaptionAlign(), ilPCDataTable\getCellNode(), ilPageObject\getContentNode(), ilPageObject\getFirstParagraphText(), ilPageObject\getHierIdsForPCIds(), ilPageObject\getInitialOpenedContent(), ilPageObject\getInternalLinks(), ilLMPresentationGUI\getLayoutLinkTargets(), ilMediaAliasItem\getMAItemNode(), ilMediaAliasItem\getMapAreaNodes(), ilPageObject\getMediaAliasElement(), ilPageObject\getPageContentsHashes(), ilMediaAliasItem\getParameterNodes(), ilPageObject\getQuestionIds(), ilPCInteractiveImage\getTriggerNodes(), ilPageObject\handleCopiedContent(), ilPageObject\handleImportRepositoryLink(), ilPageObject\handleRepositoryLinksOnCopy(), ilPCTable\importHtml(), ilMediaAliasItem\insert(), ilPageObject\insertInstIntoIDs(), ilPageObject\insertPCIds(), ilLMPresentationGUI\layout(), ilPageObject\lookforhier(), ilPCSourceCode\modifyPageContentPostXsl(), ilPageObject\moveIntLinks(), ilPageObject\newIIMCopies(), ilPageObject\newMobCopies(), ilPageObject\newQuestionCopies(), ilPageObject\pasteContents(), ilSCORM2004Page\performAutomaticModifications(), ilPageObject\removeQuestions(), ilPortfolioPage\renameLinksOnTitleChange(), ilPageObject\resolveFileItems(), ilPageObject\resolveIIMMediaAliases(), ilPageObject\resolveIntLinks(), ilPageObject\resolveMediaAliases(), ilPageObject\resolveQuestionReferences(), ilPageObject\saveInitialOpenedContent(), ilPCSection\saveTimings(), ilPageObject\send_paragraph(), ilPCDataTable\setData(), ilPCInteractiveImage\setExtLinkTitle(), ilPCTable\setTDAlignment(), ilPCTable\setTDClass(), ilPCTable\setTDWidth(), ilPCParagraph\setText(), ilPageObject\stripHierIDs(), and php4DOMXPath\xpath_eval().

59 {
60  return $xpath_context->query($eval_str, $contextnode);
61 }
+ Here is the caller graph for this function:

◆ xpath_new_context()

xpath_new_context (   $dom_document)

Definition at line 63 of file inc.xml5compliance.php.

Referenced by ilPageObject\addChangeDivClasses(), ilPageObject\addFileSizes(), ilPageObject\addHierIDs(), ilPageObject\buildDom(), ilPageObject\checkForTag(), ilPageObject\checkPCIds(), ilPageObject\collectMediaObjects(), ilPageObject\countPageContents(), ilMediaAliasItem\deleteAllMapAreas(), ilPCDataTableGUI\editData(), ilPCDataTableGUI\editDataCl(), ilPageObject\existsPCId(), ilPageLayout\generatePreview(), ilPageObject\getAllFileObjIds(), ilPageObject\getAllPCIds(), ilPCTable\getCaption(), ilPCTable\getCaptionAlign(), ilPCDataTable\getCellNode(), ilPageObject\getContentNode(), ilPageObject\getFirstParagraphText(), ilPageObject\getHierIdsForPCIds(), ilPageObject\getInitialOpenedContent(), ilPageObject\getInternalLinks(), ilLMPresentationGUI\getLayoutLinkTargets(), ilMediaAliasItem\getMAItemNode(), ilMediaAliasItem\getMapAreaNodes(), ilPageObject\getMediaAliasElement(), ilPageObject\getPageContentsHashes(), ilMediaAliasItem\getParameterNodes(), ilPageObject\getQuestionIds(), ilPCInteractiveImage\getTriggerNodes(), ilPageObject\handleCopiedContent(), ilPageObject\handleImportRepositoryLink(), ilPageObject\handleRepositoryLinksOnCopy(), ilPCTable\importHtml(), ilMediaAliasItem\insert(), ilPageObject\insertInstIntoIDs(), ilPageObject\insertPCIds(), ilLMPresentationGUI\layout(), ilPageObject\lookforhier(), ilPCSourceCode\modifyPageContentPostXsl(), ilPageObject\moveIntLinks(), ilPageObject\newIIMCopies(), ilPageObject\newMobCopies(), ilPageObject\newQuestionCopies(), ilPageObject\pasteContents(), ilSCORM2004Page\performAutomaticModifications(), ilPageObject\removeQuestions(), ilPortfolioPage\renameLinksOnTitleChange(), ilPageObject\resolveFileItems(), ilPageObject\resolveIIMMediaAliases(), ilPageObject\resolveIntLinks(), ilPageObject\resolveMediaAliases(), ilPageObject\resolveQuestionReferences(), ilPageObject\saveInitialOpenedContent(), ilPCSection\saveTimings(), ilPageObject\send_paragraph(), ilPCDataTable\setData(), ilPCInteractiveImage\setExtLinkTitle(), ilPCTable\setTDAlignment(), ilPCTable\setTDClass(), ilPCTable\setTDWidth(), ilPCParagraph\setText(), ilPageObject\stripHierIDs(), and php4DOMDocument\xpath_new_context().

64 {
65  return new php4DOMXPath($dom_document);
66 }
+ Here is the caller graph for this function:

Variable Documentation

◆ DOMXML_LOAD_PARSING