1 | <?php |
||
3 | class Acl extends \Phalcon\Mvc\Model |
||
|
|||
4 | { |
||
5 | |||
6 | /** |
||
7 | * |
||
8 | * @var integer |
||
9 | */ |
||
10 | protected $id; |
||
11 | |||
12 | /** |
||
13 | * |
||
14 | * @var integer |
||
15 | */ |
||
16 | protected $idOperation; |
||
17 | |||
18 | /** |
||
19 | * |
||
20 | * @var integer |
||
21 | */ |
||
22 | protected $idTypeUser; |
||
23 | |||
24 | /** |
||
25 | * |
||
26 | * @var integer |
||
27 | */ |
||
28 | protected $idRessource; |
||
29 | |||
30 | /** |
||
31 | * Method to set the value of field id |
||
32 | * |
||
33 | * @param integer $id |
||
34 | * @return $this |
||
35 | */ |
||
36 | public function setId($id) |
||
42 | |||
43 | /** |
||
44 | * Method to set the value of field idOperation |
||
45 | * |
||
46 | * @param integer $idOperation |
||
47 | * @return $this |
||
48 | */ |
||
49 | public function setIdOperation($idOperation) |
||
55 | |||
56 | /** |
||
57 | * Method to set the value of field idTypeUser |
||
58 | * |
||
59 | * @param integer $idTypeUser |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setIdTypeUser($idTypeUser) |
||
68 | |||
69 | /** |
||
70 | * Method to set the value of field idRessource |
||
71 | * |
||
72 | * @param integer $idRessource |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function setIdRessource($idRessource) |
||
81 | |||
82 | /** |
||
83 | * Returns the value of field id |
||
84 | * |
||
85 | * @return integer |
||
86 | */ |
||
87 | public function getId() |
||
91 | |||
92 | /** |
||
93 | * Returns the value of field idOperation |
||
94 | * |
||
95 | * @return integer |
||
96 | */ |
||
97 | public function getIdOperation() |
||
101 | |||
102 | /** |
||
103 | * Returns the value of field idTypeUser |
||
104 | * |
||
105 | * @return integer |
||
106 | */ |
||
107 | public function getIdTypeUser() |
||
111 | |||
112 | /** |
||
113 | * Returns the value of field idRessource |
||
114 | * |
||
115 | * @return integer |
||
116 | */ |
||
117 | public function getIdRessource() |
||
121 | |||
122 | /** |
||
123 | * Initialize method for model. |
||
124 | */ |
||
125 | public function initialize() |
||
131 | |||
132 | /** |
||
133 | * Returns table name mapped in the model. |
||
134 | * |
||
135 | * @return string |
||
136 | */ |
||
137 | public function getSource() |
||
141 | |||
142 | /** |
||
143 | * Allows to query a set of records that match the specified conditions |
||
144 | * |
||
145 | * @param mixed $parameters |
||
146 | * @return Acl[] |
||
147 | */ |
||
148 | public static function find($parameters = null) |
||
152 | |||
153 | /** |
||
154 | * Allows to query the first record that match the specified conditions |
||
155 | * |
||
156 | * @param mixed $parameters |
||
157 | * @return Acl |
||
158 | */ |
||
159 | public static function findFirst($parameters = null) |
||
163 | |||
164 | public function toString(){ |
||
167 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.