source:
sandbox/webservice/api/rest/core/ExpressoVersionResource.php
@
6554
Revision 6554, 389 bytes checked in by pereira.jair, 12 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[6019] | 1 | <?php |
2 | ||
[6149] | 3 | class ExpressoVersionResource extends ExpressoAdapter { |
[6019] | 4 | public function post($request){ |
5 | // to Receive POST Params (use $this->params) | |
6 | parent::post($request); | |
7 | ||
[6554] | 8 | $result = array('expressoVersion' => $this->getExpressoVersion(), |
9 | 'apiVersion' => '1.0'); | |
[6019] | 10 | $this->setResult($result); |
11 | ||
12 | //to Send Response (JSON RPC format) | |
13 | return $this->getResponse(); | |
14 | } | |
15 | ||
16 | } |
Note: See TracBrowser
for help on using the repository browser.