text changes to registration mail content
[namibia] / module / Stock / src / Stock / DataBin / Pdf.php
1 <?php
2 namespace Stock\DataBin;
3
4
5
6 /**
7  * Stock PDF exports.
8  * @author andre.fourie
9  */
10 class Pdf extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Stock',
18                         'DatasetName' => 'stock',
19                         'Entity'      => '\Stock\Entity\Stock',
20                         'References'  => array(
21                                         'valuation'          => '\Valuation\Entity\Valuation',
22                                         'region'             => '\Location\Entity\Region',
23                                         'type'               => '\Stock\Entity\Type',
24                                         'fuelType'           => '\Stock\Entity\FuelType',
25                                         'transmissionType'   => '\Stock\Entity\TransmissionType',
26                                         'exteriorColour'     => '\Stock\Entity\ExteriorColour',
27                                         'interiorColour'     => '\Stock\Entity\InteriorColour',
28                                         'condition'          => '\Stock\Entity\Condition',
29                                         'vehicleYear'        => '\Stock\Entity\Year',
30                                         'upholstery'         => '\Stock\Entity\Upholstery',
31                                         'papers'             => '\Stock\Entity\Paper',
32                                         'natis'              => '\Stock\Entity\Natis',
33                                         'fullServiceHistory' => '\Stock\Entity\FullServiceHistory',
34                                         'mainImage'          => '\Utility\Entity\Image',
35                                         'frontImage'         => '\Utility\Entity\Image',
36                                         'rightImage'         => '\Utility\Entity\Image',
37                                         'leftImage'          => '\Utility\Entity\Image',
38                                         'backImage'          => '\Utility\Entity\Image',
39                                         'interiorImage'      => '\Utility\Entity\Image',
40                                         'engineImage'        => '\Utility\Entity\Image',
41                                         'natisImage'         => '\Utility\Entity\Image'
42                         ),
43                         'Dependants'  => array(
44                                         'accessories' => '\Stock\Entity\Accessory'
45                         )
46         );
47         /**
48          * @var array
49         */
50         protected $metaPrint = array(
51                         'Type'          => 'Pdf',
52                         'Builder'       => '\Stock\Pdf\StockOnly',
53                         'Writer'        => '\Utility\Export\PdfTemplate',
54                         'Output'        => 'Download',
55                         'FilePath'        => '\test.pdf',
56                         'RequiredInput' => array(),
57                         'OptionalInput' => array(
58                                         'PdfTemplate' => array(
59                                                         'email' => 'Email'
60                                         )
61                         )
62         );
63
64 }