source: sandbox/2.4.1-3/prototype/rest/hypermedia/query.php @ 6351

Revision 6351, 356 bytes checked in by gustavo, 12 years ago (diff)

Ticket #2768 - Melhorias na inserção de destinatários na criacao de mensagem

  • Property svn:executable set to *
Line 
1<?php
2
3class 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.