Changeset 5633
- Timestamp:
- 03/05/12 17:47:25 (12 years ago)
- Location:
- sandbox/webservice/api
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/json-rpc/Expresso.php
r5595 r5633 3 3 class Expresso { 4 4 5 protected $expressoVersion; 5 6 var $result; 6 7 var $error; … … 9 10 10 11 function __construct($id){ 12 $this->expressoVersion = substr($GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],0,3); 11 13 $this->result = null; 12 14 $this->error = null; … … 34 36 } 35 37 38 public function getExpressoVersion(){ 39 $this->result = array('expressoVersion' => $this->expressoVersion); 40 return $this->getResponse(); 41 } 36 42 37 43 public function login($params){ -
sandbox/webservice/api/webservice.php
r5595 r5633 5 5 "Expresso.login", 6 6 "Expresso.logout", 7 "Expresso.getExpressoVersion", 7 8 "Mail.getUserFolders", 8 9 "Mail.getUserMessages"
Note: See TracChangeset
for help on using the changeset viewer.