Class RaxanDOMDocument

Description

Used internally by RaxanWebPage

  • property-read: RaxanWebPage $page: // Reference to Raxan Web Page

Located in /raxan.webpage.php (line 2382)

DOMDocument
   |
   --RaxanDOMDocument
Variable Summary
mixed $charset
mixed $css
mixed $cssRegEx
mixed $init
mixed $pageId
mixed $source
mixed $srcType
mixed $xPath
Method Summary
RaxanDOMDocument __construct ([ $v = '1.0'], [ $charset = 'UTF-8'])
DOMNodeList cssQuery ( $rule, [ $context = null], [ $includeSelf = false])
string cssToXPath ( $rule, [ $inludeSelf = false])
void initDOMDocument ()
void initPageController (int $id)
Boolean isInit ()
void source ([ $src = null], [ $srcType = 'html'])
DOMNodeList xQuery (string $pth, [ $context = null])
void __get ( $name)
Variables
mixed $charset (line 2384)
  • access: public
mixed $css (line 2386)
  • access: protected
mixed $cssRegEx (line 2388)
  • access: protected
mixed $init (line 2387)
  • access: protected
mixed $pageId (line 2389)
  • access: protected
mixed $source (line 2387)
  • access: protected
mixed $srcType (line 2387)
  • access: protected
mixed $xPath (line 2387)
  • access: protected
Methods
Constructor __construct (line 2391)
  • access: public
RaxanDOMDocument __construct ([ $v = '1.0'], [ $charset = 'UTF-8'])
  • $v
  • $charset

Redefinition of:
DOMDocument::constructor __construct ( [$version = ], [$encoding = ] )
cssQuery (line 2455)

Return DOMNodeList query dom based on CSS Selector

  • access: public
DOMNodeList cssQuery ( $rule, [ $context = null], [ $includeSelf = false])
  • $rule
  • $context
  • $includeSelf
cssToXPath (line 2518)

CSS to Xpath - http://www.webdesignerforum.co.uk/index.php?showtopic=2325

Mod by rayond 10-dec-2008. fixed: last, first, added not

  • access: protected
string cssToXPath ( $rule, [ $inludeSelf = false])
  • $rule
  • $inludeSelf
initDOMDocument (line 2495)

Initialize DOM source

  • access: public
void initDOMDocument ()
initPageController (line 2426)

Sets the page controller id

  • access: public
void initPageController (int $id)
  • int $id
isInit (line 2488)

Returns true if DOM source was loaded.

  • access: public
Boolean isInit ()
source (line 2467)

Sets or returns HTML/XML source - this is loaded only when the DOM is first queried

  • access: public
void source ([ $src = null], [ $srcType = 'html'])
  • $src
  • $srcType
xQuery (line 2436)

Return DOMNodeList query dom based on XPath

  • access: public
DOMNodeList xQuery (string $pth, [ $context = null])
  • string $pth: CSS selector
  • DOMNode $context: Optional context node
__get (line 2417)
  • access: public
void __get ( $name)
  • $name

Inherited Methods

Inherited From DOMDocument (Internal Class)

constructor __construct ( [$version = ], [$encoding = ] )
adoptNode ( $source )
appendChild ( $newChild )
C14N ( [$exclusive = ], [$with_comments = ], [$xpath = ], [$ns_prefixes = ] )
C14NFile ( $uri, [$exclusive = ], [$with_comments = ], [$xpath = ], [$ns_prefixes = ] )
cloneNode ( $deep )
compareDocumentPosition ( $other )
createAttribute ( $name )
createAttributeNS ( $namespaceURI, $qualifiedName )
createCDATASection ( $data )
createComment ( $data )
createDocumentFragment ( )
createElement ( $tagName, [$value = ] )
createElementNS ( $namespaceURI, $qualifiedName, [$value = ] )
createEntityReference ( $name )
createProcessingInstruction ( $target, $data )
createTextNode ( $data )
getElementById ( $elementId )
getElementsByTagName ( $tagName )
getElementsByTagNameNS ( $namespaceURI, $localName )
getFeature ( $feature, $version )
getLineNo ( )
getNodePath ( )
getUserData ( $key )
hasAttributes ( )
hasChildNodes ( )
importNode ( $importedNode, $deep )
insertBefore ( $newChild, [$refChild = ] )
isDefaultNamespace ( $namespaceURI )
isEqualNode ( $arg )
isSameNode ( $other )
isSupported ( $feature, $version )
load ( $source, [$options = ] )
loadHTML ( $source )
loadHTMLFile ( $source )
loadXML ( $source, [$options = ] )
lookupNamespaceUri ( $prefix )
lookupPrefix ( $namespaceURI )
normalize ( )
normalizeDocument ( )
registerNodeClass ( $baseClass, $extendedClass )
relaxNGValidate ( $filename )
relaxNGValidateSource ( $source )
removeChild ( $oldChild )
renameNode ( $node, $namespaceURI, $qualifiedName )
replaceChild ( $newChild, $oldChild )
save ( $file )
saveHTML ( )
saveHTMLFile ( $file )
saveXML ( [$node = ] )
schemaValidate ( $filename )
schemaValidateSource ( $source )
setUserData ( $key, $data, $handler )
validate ( )
xinclude ( [$options = ] )