text changes to registration mail content
[namibia] / module / Person / src / Person / Service / Contact.php
1 <?php
2 namespace Person\Service;
3
4
5
6 /**
7  * Manage contact data.
8  * @author andre.fourie
9  */
10 class Contact extends \Workspace\Service\DataBin
11 {
12
13         /**
14          * @var array
15          */
16         protected $meta = array(
17                         'Base'        => 'Contact',
18                         'DatasetName' => 'contacts',
19                         'Entity'      => '\Person\Entity\Contact',
20                         'References'  => array(),
21                         'Dependants'  => array()
22         );
23         /**
24          * @var array
25         */
26         protected $metaList = array(
27                         'Type'          => 'List',
28                         'Contract'      => 'Recurring',
29                         'RequiredInput' => array(),
30                         'OptionalInput' => array(
31                                         'Filter' => array(
32                                                         'firstName'  => 'String50',
33                                                         'familyName' => 'String50',
34                                                         'mobile'     => 'Mobile',
35                                                         'office'     => 'Mobile',
36                                                         'fax'        => 'Mobile',
37                                                         'email'      => 'Email'
38                                         )
39                         ),
40                         'Filter' => array(),
41                         'Fields' => array(
42                                 'name'
43                         ),
44                         'Expand' => array()
45         );
46         /**
47          * @var array
48         */
49         protected $metaSelectList = array(
50                         'Type'          => 'SelectList',
51                         'Contract'      => 'Recurring',
52                         'RequiredInput' => array(),
53                         'OptionalInput' => array(
54                                         'Filter' => array(
55                                                         'firstName'  => 'String50',
56                                                         'familyName' => 'String50',
57                                                         'mobile'     => 'Mobile',
58                                                         'office'     => 'Mobile',
59                                                         'fax'        => 'Mobile',
60                                                         'email'      => 'Email'
61                                         )
62                         ),
63                         'Filter'   => array(),
64                         'Label'    => array(
65                                 'Format' => '[firstName] [familyName]',
66                                 'Fields' => array('firstName', 'familyName')
67                         )
68         );
69         /**
70          * @var array
71         */
72         protected $metaCreate = array(
73                         'Type'          => 'Create',
74                         'Contract'      => 'Recurring',
75                         'RequiredInput' => array(),
76                         'OptionalInput' => array(
77                                         'Contact' => array(
78                                                         'firstName'  => 'String50',
79                                                         'familyName' => 'String50',
80                                                         'mobile'     => 'Mobile',
81                                                         'office'     => 'Mobile',
82                                                         'fax'        => 'Mobile',
83                                                         'email'      => 'Email'
84                                         )
85                         )
86         );
87         /**
88          * @var array
89         */
90         protected $metaUpdate = array(
91                         'Type'          => 'Update',
92                         'Contract'      => 'UseOnce',
93                         'RequiredInput' => array(),
94                         'OptionalInput' => array(
95                                         'Contact' => array(
96                                                         'firstName'  => 'String50',
97                                                         'familyName' => 'String50',
98                                                         'mobile'     => 'Mobile',
99                                                         'office'     => 'Mobile',
100                                                         'fax'        => 'Mobile',
101                                                         'email'      => 'Email'
102                                         )
103                         )
104         );
105         /**
106          * @var array
107         */
108         protected $metaDelete = array(
109                         'Type'     => 'Delete',
110                         'Contract' => 'UseOnce'
111         );
112
113 }