Revision 6528,
356 bytes
checked in by gustavo, 12 years ago
(diff) |
Ticket #2766 - Merge do branch das novas funcionalidaes para o trunk
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[6351] | 1 | <?php |
---|
| 2 | |
---|
| 3 | class Querie { |
---|
| 4 | public $href; |
---|
| 5 | public $data = array(); |
---|
| 6 | |
---|
| 7 | public function getHref(){ |
---|
| 8 | return $this->href; |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | public function setHref($href){ |
---|
| 12 | $this->href = $href; |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | public function setData($field, $value, $required=false){ |
---|
| 16 | $this->data[] = array( |
---|
| 17 | 'name' => $field, |
---|
| 18 | 'value' => $value, |
---|
| 19 | 'required' => $required |
---|
| 20 | ); |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.