- Timestamp:
- Nov 5, 2014 11:16:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/libraries/vservices.php
r365 r417 9 9 10 10 public function __construct() { 11 12 11 } 13 14 12 public function setApiUrl($url) { 15 13 $this->_apiUrl = $url; … … 43 41 * @param unknown $aryParams 44 42 */ 45 public function actionExecute ($action, $aryParams = array() ) {46 $this->_curlObj->create($this->_apiUrl. 'space/'.$action);43 public function actionExecute ($action, $aryParams = array(), $module = 'space') { 44 $this->_curlObj->create($this->_apiUrl. $module.'/'.$action); 47 45 $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10); 48 46 $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
Note: See TracChangeset
for help on using the changeset viewer.