Installer Class

Create object

Create a object of the Installer class:

$installer = new Installer(Registry $registry, Request $request, Language $language, Config $config);

Init

Init the class:

$installer->init(string $directory) : void;

Raw create

Create from sql database/{db-type}/create files:

$installer->rawCreate() : void;

Raw drop

Drop from sql database/{db-type}/drop files:

$installer->rawDrop() : void;

Insert data

Insert the data:

$installer->insertData(array $optionArray) : void;
Edit on GitHub