Régularisation de commits manquants
This commit is contained in:
50
local/modules/DuplicateOrder/Config/config.xml
Normal file
50
local/modules/DuplicateOrder/Config/config.xml
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<config xmlns="http://thelia.net/schema/dic/config"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
|
||||
|
||||
<loops>
|
||||
<!-- sample definition
|
||||
<loop name="MySuperLoop" class="DuplicateOrder\Loop\MySuperLoop" />
|
||||
-->
|
||||
</loops>
|
||||
|
||||
<forms>
|
||||
<!--
|
||||
<form name="MyFormName" class="DuplicateOrder\Form\MySuperForm" />
|
||||
-->
|
||||
<form name="duplicate.order" class="DuplicateOrder\Form\Front\DuplicateOrderForm" />
|
||||
</forms>
|
||||
|
||||
<commands>
|
||||
<!--
|
||||
<command class="DuplicateOrder\Command\MySuperCommand" />
|
||||
-->
|
||||
</commands>
|
||||
|
||||
<!--
|
||||
<services>
|
||||
|
||||
</services>
|
||||
-->
|
||||
|
||||
<hooks>
|
||||
<hook id="duplicateorder.hook" class="DuplicateOrder\Hook\OrderDetailsHook" scope="request">
|
||||
<tag name="hook.event_listener" event="account-order.bottom" type="front" method="onAccountOrderBottom" />
|
||||
</hook>
|
||||
</hooks>
|
||||
|
||||
|
||||
<!--
|
||||
<exports>
|
||||
|
||||
</exports>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<imports>
|
||||
|
||||
</imports>
|
||||
-->
|
||||
</config>
|
||||
18
local/modules/DuplicateOrder/Config/module.xml
Normal file
18
local/modules/DuplicateOrder/Config/module.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module>
|
||||
<fullnamespace>DuplicateOrder\DuplicateOrder</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>Duplicate order</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Module qui permet de dupliquer un commande</title>
|
||||
</descriptive>
|
||||
<version>1.0</version>
|
||||
<author>
|
||||
<name>Vincent Lopes-Vicente</name>
|
||||
<email>vlopes@openstudio.fr</email>
|
||||
</author>
|
||||
<type>classic</type>
|
||||
<thelia>2.1.0</thelia>
|
||||
<stability>other</stability>
|
||||
</module>
|
||||
34
local/modules/DuplicateOrder/Config/routing.xml
Normal file
34
local/modules/DuplicateOrder/Config/routing.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<routes xmlns="http://symfony.com/schema/routing"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd">
|
||||
|
||||
<!--
|
||||
|
||||
if a /admin/module/duplicateorder/ route is provided, a "Configuration" button will be displayed
|
||||
for the module in the module list. Clicking this button will invoke this route.
|
||||
|
||||
<route id="my_route_id" path="/admin/module/duplicateorder">
|
||||
<default key="_controller">DuplicateOrder\Full\Class\Name\Of\YourConfigurationController::methodName</default>
|
||||
</route>
|
||||
|
||||
<route id="my_route_id" path="/admin/module/duplicateorder/route-name">
|
||||
<default key="_controller">DuplicateOrder\Full\Class\Name\Of\YourAdminController::methodName</default>
|
||||
</route>
|
||||
|
||||
<route id="my_route_id" path="/my/route/name">
|
||||
<default key="_controller">DuplicateOrder\Full\Class\Name\Of\YourOtherController::methodName</default>
|
||||
</route>
|
||||
|
||||
...add as many routes as required.
|
||||
|
||||
<route>
|
||||
...
|
||||
</route>
|
||||
-->
|
||||
<route id="duplicate.order.duplicate" path="/order/duplicate">
|
||||
<default key="_controller">DuplicateOrder\Controller\Front\DuplicateOrderController::duplicateOrder</default>
|
||||
</route>
|
||||
|
||||
</routes>
|
||||
7
local/modules/DuplicateOrder/Config/schema.xml
Normal file
7
local/modules/DuplicateOrder/Config/schema.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<database defaultIdMethod="native" name="thelia" namespace="DuplicateOrder\Model">
|
||||
<!--
|
||||
See propel documentation on http://propelorm.org for all information about schema file
|
||||
-->
|
||||
<external-schema filename="local/config/schema.xml" referenceOnly="true" />
|
||||
</database>
|
||||
Reference in New Issue
Block a user