* @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /** * This class is only here to show the possibility of extending InstallXmlLoader, which is the * class parsing all XML files, copying all images, etc. * * Please read documentation in ~/install/dev/ folder if you want to customize PrestaShop install / fixtures. */ class InstallFixturesFashion extends InstallXmlLoader { public function createEntityCustomer($identifier, array $data, array $data_lang) { if ($identifier == 'John') $data['passwd'] = Tools::encrypt('123456789'); return $this->createEntity('customer', $identifier, 'Customer', $data, $data_lang); } }