You are here

function JSimpleXML::JSimpleXML 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 121

Class

JSimpleXML
SimpleXML implementation.

Code

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