Inital commit
This commit is contained in:
6
local/modules/PdfGenerator/Config/config.xml
Normal file
6
local/modules/PdfGenerator/Config/config.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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">
|
||||
</config>
|
||||
30
local/modules/PdfGenerator/Config/module.xml
Normal file
30
local/modules/PdfGenerator/Config/module.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module xmlns="http://thelia.net/schema/dic/module"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/module http://thelia.net/schema/dic/module/module-2_2.xsd">
|
||||
<fullnamespace>PdfGenerator\PdfGenerator</fullnamespace>
|
||||
<descriptive locale="en_US">
|
||||
<title>A PDF generator</title>
|
||||
</descriptive>
|
||||
<descriptive locale="fr_FR">
|
||||
<title>Un générateur de PDF</title>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>en_US</language>
|
||||
<language>fr_FR</language>
|
||||
</languages>
|
||||
<version>0.5.1</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Franck Allimant</name>
|
||||
<company>CQFDev</company>
|
||||
<email>thelia@cqfdev.fr</email>
|
||||
<website>www.cqfdev.fr</website>
|
||||
</author>
|
||||
</authors>
|
||||
<type>classic</type>
|
||||
<thelia>2.3.4</thelia>
|
||||
<stability>other</stability>
|
||||
<mandatory>0</mandatory>
|
||||
<hidden>0</hidden>
|
||||
</module>
|
||||
18
local/modules/PdfGenerator/Config/routing.xml
Normal file
18
local/modules/PdfGenerator/Config/routing.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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">
|
||||
|
||||
<route id="pdf_generator.get_pdf" path="/getpdf/{template}/{outputFileName}">
|
||||
<default key="_controller">PdfGenerator\Controller\GeneratorController::downloadPdf</default>
|
||||
<requirement key="template">.*</requirement>
|
||||
<requirement key="outputFileName">.*</requirement>
|
||||
</route>
|
||||
|
||||
<route id="pdf_generator.view_pdf" path="/viewpdf/{template}/{outputFileName}">
|
||||
<default key="_controller">PdfGenerator\Controller\GeneratorController::viewPdf</default>
|
||||
<requirement key="template">.*</requirement>
|
||||
<requirement key="outputFileName">.*</requirement>
|
||||
</route>
|
||||
</routes>
|
||||
Reference in New Issue
Block a user