Ignore:
Timestamp:
Nov 5, 2014 11:16:06 AM (11 years ago)
Author:
namnd
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/libraries/vservices.php

    r365 r417  
    99       
    1010        public function __construct() {
    11                
    1211        }
    13        
    1412        public function setApiUrl($url) {
    1513                $this->_apiUrl = $url;
     
    4341         * @param unknown $aryParams
    4442         */
    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);
    4745                $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10);
    4846                $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
Note: See TracChangeset for help on using the changeset viewer.