Issues (100)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

src/Entities/PatientPSY.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/**
3
 * PatientPSY
4
 *
5
 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
6
 * OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
7
 *
8
 * Permission is hereby granted to use or copy this program
9
 * for any purpose, provided the above notices are retained on all copies.
10
 * Permission to modify the code and to distribute modified code is granted,
11
 * provided the above notices are retained, and a notice that the code was
12
 * modified is included with the above copyright notice.
13
 *
14
 * @category  Wp
15
 * @package   Punction
16
 * @author    Andrzej Marcinkowski <[email protected]>
17
 * @copyright 2014 Wojewódzki Szpital Zespolony, Kalisz
18
 * @license   MIT http://opensource.org/licenses/MIT
19
 * @version   1.0 $Format:%H$
20
 * @link      http://
21
 * @since     File available since Release 1.0.0
22
 * PHP Version 5
23
 */
24
namespace Hospitalplugin\Entities;
25
26
/**
27
 * PatientPSY
28
 *
29
 * @category  Wp
30
 * @package   Punction
31
 * @author    Andrzej Marcinkowski <[email protected]>
32
 * @copyright 2014 Wojewódzki Szpital Zespolony, Kalisz
33
 * @license   MIT http://opensource.org/licenses/MIT
34
 * @version   1.0 $Format:%H$
35
 * @link      http://
36
 * @since     File available since Release 1.0.0
37
 *
38
 * @Entity
39
 */
40
class PatientPSY extends Patient
41
{
42
43
    /**
44
     * @var string $typ typ pacjenta
45
     */
46
    public $typ = "PSY";
47
48
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
49
    public $aktywnoscFizyczna;
50
51
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
52
    public $higiena;
53
54
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
55
    public $odzywianie;
56
57
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
58
    public $wydalanie;
59
60
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
61
    public $pomiarParametrowZyciowych;
62
63
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
64
    public $leczenie;
65
66
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
67
    public $edukacjaIWsparciePsychiczne;
68
69
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
70
    public $zachowaniaAgresywne;
71
72
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
73
    public $dezorganizacjaZachowania;
74
75
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
76
    public $napedPsychoruchowy;
77
78
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
79
    public $depresja;
80
81
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
82
    public $mysliSamobojcze;
83
84
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
85
    public $objawyPsychotyczne;
86
87
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
88
    public $swiadomosc;
89
90
    /** @Column(columnDefinition="TINYINT(4) DEFAULT 0") */
91
    public $udzialWTerapii;
92
93
    public function getTyp()
94
    {
95
        return $this->typ;
96
    }
97
98
    public function setTyp($typ)
99
    {
100
        $this->typ = $typ;
101
        return $this;
102
    }
103
104
    public function getAktywnoscFizyczna()
105
    {
106
        return $this->aktywnoscFizyczna;
107
    }
108
109
    public function setAktywnoscFizyczna($aktywnoscFizyczna)
110
    {
111
        $this->aktywnoscFizyczna = $aktywnoscFizyczna;
112
        return $this;
113
    }
114
115
    public function getHigiena()
116
    {
117
        return $this->higiena;
118
    }
119
120
    public function setHigiena($higiena)
121
    {
122
        $this->higiena = $higiena;
123
        return $this;
124
    }
125
126
    public function getOdzywianie()
127
    {
128
        return $this->odzywianie;
129
    }
130
131
    public function setOdzywianie($odzywianie)
132
    {
133
        $this->odzywianie = $odzywianie;
134
        return $this;
135
    }
136
137
    public function getWydalanie()
138
    {
139
        return $this->wydalanie;
140
    }
141
142
    public function setWydalanie($wydalanie)
143
    {
144
        $this->wydalanie = $wydalanie;
145
        return $this;
146
    }
147
148
    public function getPomiarParametrowZyciowych()
149
    {
150
        return $this->pomiarParametrowZyciowych;
151
    }
152
153
    public function setPomiarParametrowZyciowych($pomiarParametrowZyciowych)
154
    {
155
        $this->pomiarParametrowZyciowych = $pomiarParametrowZyciowych;
156
        return $this;
157
    }
158
159
    public function getLeczenie()
160
    {
161
        return $this->leczenie;
162
    }
163
164
    public function setLeczenie($leczenie)
165
    {
166
        $this->leczenie = $leczenie;
167
        return $this;
168
    }
169
170
    public function getEdukacjaIWsparciePsychiczne()
171
    {
172
        return $this->edukacjaIWsparciePsychiczne;
173
    }
174
175
    public function setEdukacjaIWsparciePsychiczne($edukacjaZdrowotnaIWsparciePsychiczne)
176
    {
177
        $this->edukacjaIWsparciePsychiczne = $edukacjaZdrowotnaIWsparciePsychiczne;
178
        return $this;
179
    }
180
181
    public function getZachowaniaAgresywne()
182
    {
183
        return $this->zachowaniaAgresywne;
184
    }
185
186
    public function setZachowaniaAgresywne($zachowaniaAgresywne)
187
    {
188
        $this->zachowaniaAgresywne = $zachowaniaAgresywne;
189
        return $this;
190
    }
191
192
    public function getDezorganizacjaZachowania()
193
    {
194
        return $this->dezorganizacjaZachowania;
195
    }
196
197
    public function setDezorganizacjaZachowania($dezorganizacjaZachowania)
198
    {
199
        $this->dezorganizacjaZachowania = $dezorganizacjaZachowania;
200
        return $this;
201
    }
202
203
    public function getNapedPsychoruchowy()
204
    {
205
        return $this->napedPsychoruchowy;
206
    }
207
208
    public function setNapedPsychoruchowy($napedPsychoruchowy)
209
    {
210
        $this->napedPsychoruchowy = $napedPsychoruchowy;
211
        return $this;
212
    }
213
214
    public function getDepresja()
215
    {
216
        return $this->depresja;
217
    }
218
219
    public function setDepresja($depresja)
220
    {
221
        $this->depresja = $depresja;
222
        return $this;
223
    }
224
225
    public function getMysliSamobojcze()
226
    {
227
        return $this->mysliSamobojcze;
228
    }
229
230
    public function setMysliSamobojcze($mysliSamobojcze)
231
    {
232
        $this->mysliSamobojcze = $mysliSamobojcze;
233
        return $this;
234
    }
235
236
    public function getObjawyPsychotyczne()
237
    {
238
        return $this->objawyPsychotyczne;
239
    }
240
241
    public function setObjawyPsychotyczne($objawyPsychotyczne)
242
    {
243
        $this->objawyPsychotyczne = $objawyPsychotyczne;
244
        return $this;
245
    }
246
247
    public function getSwiadomosc()
248
    {
249
        return $this->swiadomosc;
250
    }
251
252
    public function setSwiadomosc($swiadomosc)
253
    {
254
        $this->swiadomosc = $swiadomosc;
255
        return $this;
256
    }
257
258
    public function getUdzialWTerapii()
259
    {
260
        return $this->udzialWTerapii;
261
    }
262
263
    public function setUdzialWTerapii($udzialWTerapii)
264
    {
265
        $this->udzialWTerapii = $udzialWTerapii;
266
        return $this;
267
    }
268
269
    /**
270
     * getFields
271
     *
272
     * @return multitype:string
0 ignored issues
show
The doc-type multitype:string could not be parsed: Unknown type name "multitype:string" at position 0. (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
273
     */
274
    public static function getFields()
275
    {
276
        $superFields = parent::getFields();
277
        $fields = array_merge($superFields, array(
278
            "aktywnoscFizyczna",
279
            "higiena",
280
            "odzywianie",
281
            "wydalanie",
282
            "pomiarParametrowZyciowych",
283
            "leczenie",
284
            "edukacjaIWsparciePsychiczne",
285
            "zachowaniaAgresywne",
286
            "dezorganizacjaZachowania",
287
            "napedPsychoruchowy",
288
            "depresja",
289
            "mysliSamobojcze",
290
            "objawyPsychotyczne",
291
            "swiadomosc",
292
            "udzialWTerapii"
293
        ));
294
        return $fields;
295
    }
296
}
297