Revision 6149,
360 bytes
checked in by niltonneto, 12 years ago
(diff) |
Ticket #2507 - Restruturado diretório para alinhamento com projeto REST.
|
-
Property svn:executable set to
*
|
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 | |
---|
[6148] | 8 | $result = array('expressoVersion' => $this->getExpressoVersion()); |
---|
[6019] | 9 | $this->setResult($result); |
---|
| 10 | |
---|
| 11 | //to Send Response (JSON RPC format) |
---|
| 12 | return $this->getResponse(); |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.