Changeset 6429 for sandbox/2.4.1-3/prototype/rest/hypermedia/collection.php
- Timestamp:
- 06/06/12 09:01:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.4.1-3/prototype/rest/hypermedia/collection.php
r6351 r6429 14 14 public $error; 15 15 public $pagination; 16 public $queries ;16 public $queries = array(); 17 17 public $template; 18 18 public $type; 19 public $data ;19 public $data = array(); 20 20 21 21 function __construct($config, $className) { … … 32 32 $this->itens[] = $item; 33 33 } 34 35 function setData($data) {36 $this->data = $data;34 35 function addData($data) { 36 $this->data[] = $data; 37 37 } 38 38 … … 57 57 } 58 58 59 function setQueries($queries) {60 $this->queries = $queries;59 function addQueries($queries) { 60 $this->queries[] = $queries; 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.