function __construct($step = null) { parent::__construct($step); $name = $this->_step->_getStepName(); if (!empty($this->_step->xmlpath)) { // Find xml file from redMigrator $default_xmlfile = JPATH_PLUGINS . "/redmigrator/{$this->_step->xmlpath}"; if (file_exists($default_xmlfile)) { $this->xml = simplexml_load_file($default_xmlfile); } } }