Revision 6528,
1.1 KB
checked in by gustavo, 12 years ago
(diff) |
Ticket #2766 - Merge do branch das novas funcionalidaes para o trunk
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | class Data { |
---|
4 | |
---|
5 | public $name; |
---|
6 | public $value; |
---|
7 | public $prompt; |
---|
8 | public $dataType; |
---|
9 | public $maxLength; |
---|
10 | public $minLength; |
---|
11 | public $required; |
---|
12 | |
---|
13 | function setName($name) { |
---|
14 | $this->name = $name; |
---|
15 | } |
---|
16 | |
---|
17 | function getName() { |
---|
18 | return $this->name; |
---|
19 | } |
---|
20 | |
---|
21 | function setValue($value) { |
---|
22 | $this->value = $value; |
---|
23 | } |
---|
24 | |
---|
25 | function getVame() { |
---|
26 | return $this->value; |
---|
27 | } |
---|
28 | |
---|
29 | function setPrompt($prompt) { |
---|
30 | $this->prompt = $prompt; |
---|
31 | } |
---|
32 | |
---|
33 | function getPrompt() { |
---|
34 | return $this->prompt; |
---|
35 | } |
---|
36 | |
---|
37 | function setDataType($dataType) { |
---|
38 | $this->dataType = $dataType; |
---|
39 | } |
---|
40 | |
---|
41 | function getDataType() { |
---|
42 | return $this->dataType; |
---|
43 | } |
---|
44 | |
---|
45 | function setMaxLength($maxLength) { |
---|
46 | $this->maxLength = $maxLength; |
---|
47 | } |
---|
48 | |
---|
49 | function getMaxLength() { |
---|
50 | return $this->maxLength; |
---|
51 | } |
---|
52 | |
---|
53 | function setMinLength($minLength) { |
---|
54 | $this->minLength = $minLength; |
---|
55 | } |
---|
56 | |
---|
57 | function getMinLength() { |
---|
58 | return $this->minLength; |
---|
59 | } |
---|
60 | |
---|
61 | function setRequired($required) { |
---|
62 | $this->required = $required; |
---|
63 | } |
---|
64 | |
---|
65 | function getRequired() { |
---|
66 | return $this->required; |
---|
67 | } |
---|
68 | |
---|
69 | } |
---|
70 | |
---|
71 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.