You are here

function JSimpleXMLElement::JSimpleXMLElement in Ubercart 5

A hack to support __construct() on PHP 4

Hint: descendant classes have no PHP4 class_name() constructors, so this constructor gets called first and calls the top-layer __construct() which (if present) should call parent::__construct()

@access public

@since 1.5

Return value

Object

File

uc_store/includes/simplexml.php, line 416

Class

JSimpleXMLElement
SimpleXML Element

Code

function JSimpleXMLElement() {
  $args = func_get_args();
  call_user_func_array(array(
    &$this,
    '__construct',
  ), $args);
}