ILIAS  Release_4_2_x_branch Revision 61807
 All Data Structures Namespaces Files Functions Variables Groups Pages
php4DOMNodelist Class Reference
+ Collaboration diagram for php4DOMNodelist:

Public Member Functions

 php4DOMNodelist ($aDOMNodelist)
 php4DOMNodelist ($aDOMNodelist, $aOwnerDocument)
 php4DOMNodelist ($aDOMNodelist, $aOwnerDocument)
 php4DOMNodelist ($aDOMNodelist)

Data Fields

 $myDOMNodelist
 $nodeset
 $type = XPATH_UNDEFINED
 $value

Detailed Description

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

Member Function Documentation

php4DOMNodelist::php4DOMNodelist (   $aDOMNodelist,
  $aOwnerDocument 
)

Definition at line 414 of file domxml-php4-to-php5.php.

References php4DOMNode\_newDOMElement().

{
if (!isset($aDOMNodelist)) return;
elseif (is_object($aDOMNodelist)||is_array($aDOMNodelist))
{
if ($aDOMNodelist->length>0)
{
$this->myDOMNodelist=$aDOMNodelist;
$this->nodeset=array();
$this->type=XPATH_NODESET;
$i=0;
while ($node=$this->myDOMNodelist->item($i++)) $this->nodeset[]=php4DOMNode::_newDOMElement($node,$aOwnerDocument);
}
}
elseif (is_int($aDOMNodelist)||is_float($aDOMNodelist))
{
$this->type=XPATH_NUMBER;
$this->value=$aDOMNodelist;
}
elseif (is_bool($aDOMNodelist))
{
$this->type=XPATH_BOOLEAN;
$this->value=$aDOMNodelist;
}
elseif (is_string($aDOMNodelist))
{
$this->type=XPATH_STRING;
$this->value=$aDOMNodelist;
}
}

+ Here is the call graph for this function:

php4DOMNodelist::php4DOMNodelist (   $aDOMNodelist,
  $aOwnerDocument 
)

Definition at line 444 of file domxml-php4-php5.php.

{
echo "-u";
$this->myDOMNodelist=$aDOMNodelist;
$this->nodeset=array();
$i=0;
if (isset($this->myDOMNodelist))
while ($node=$this->myDOMNodelist->item($i))
{
$this->nodeset[]=new php4DOMElement($node,$aOwnerDocument);
$i++;
}
}
php4DOMNodelist::php4DOMNodelist (   $aDOMNodelist)

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

{
$this->myDOMNodelist=$aDOMNodelist;
$this->nodeset=array();
$i=0;
while ($node=$this->myDOMNodelist->item($i))
{
$this->nodeset[]=new php4DOMElement($node);
$i++;
}
}
php4DOMNodelist::php4DOMNodelist (   $aDOMNodelist)

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

{
$this->myDOMNodelist=$aDOMNodelist;
$this->nodeset=array();
$i=0;
while ($node=$this->myDOMNodelist->item($i))
{
$this->nodeset[]=new php4DOMElement($node);
$i++;
}
}

Field Documentation

php4DOMNodelist::$myDOMNodelist

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

php4DOMNodelist::$nodeset

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

php4DOMNodelist::$type = XPATH_UNDEFINED

Definition at line 412 of file domxml-php4-to-php5.php.

php4DOMNodelist::$value

Definition at line 413 of file domxml-php4-to-php5.php.


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