source: sandbox/webservice/api/rest/core/ExpressoVersionResource.php @ 6149

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 *
Line 
1<?php
2
3class ExpressoVersionResource extends ExpressoAdapter {         
4        public function post($request){
5                // to Receive POST Params (use $this->params)
6                parent::post($request);                 
7               
8                $result = array('expressoVersion' =>  $this->getExpressoVersion());
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.