public function setUp() { parent::setUp(); $pkg = Concrete\Core\Package\Package::getClass('migration_tool'); $pkg->on_start(); $this->parser = new Parser(); }
public function setUp() { $this->error = new \Concrete\Core\Error\Error(); libxml_clear_errors(); parent::setUp(); $pkg = Concrete\Core\Package\Package::getClass('migration_tool'); $pkg->on_start(); $this->parser = new Parser(); }
/** * Installs a package's database from an XML file * @param string $xmlFile Path to the database XML file * @return bool|\stdClass Returns false if the XML file could not be found * @throws \Doctrine\DBAL\ConnectionException */ public static function installDB($xmlFile) { return Concrete\Core\Package\Package::installDB($xmlFile); }