1 | <?php |
||
35 | class Exemple1 extends Entity { |
||
36 | |||
37 | /** |
||
38 | * id |
||
39 | * |
||
40 | * @access private |
||
41 | * @var int |
||
42 | * |
||
43 | * @primary_key |
||
44 | */ |
||
45 | |||
46 | private $id = null; |
||
47 | |||
48 | |||
49 | |||
50 | /** |
||
51 | * title |
||
52 | * |
||
53 | * @access private |
||
54 | * @var string |
||
55 | * |
||
56 | */ |
||
57 | |||
58 | private $title = null; |
||
59 | |||
60 | /** |
||
61 | * get id of article |
||
62 | * |
||
63 | * @access public |
||
64 | * @return int |
||
65 | */ |
||
66 | |||
67 | public function get_id() { |
||
71 | |||
72 | /** |
||
73 | * set id of article |
||
74 | * |
||
75 | * @access public |
||
76 | * @param int $id id of article |
||
77 | * @return \src\FrontOffice\Entity\article |
||
78 | */ |
||
79 | |||
80 | public function set_id($id) { |
||
85 | |||
86 | /** |
||
87 | * get title of article |
||
88 | * |
||
89 | * @access public |
||
90 | * @return string |
||
91 | */ |
||
92 | |||
93 | public function get_title() { |
||
97 | |||
98 | /** |
||
99 | * set title of article |
||
100 | * |
||
101 | * @access public |
||
102 | * @param string $title title of article |
||
103 | * @return \src\FrontOffice\Entity\article |
||
104 | */ |
||
105 | |||
106 | public function set_title($title) { |
||
111 | } |
||
112 |