Ignore:
Timestamp:
Mar 18, 2015 1:37:38 PM (10 years ago)
Author:
quyenla
Message:

preview

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/20150304/application/libraries/vservices.php

    r782 r787  
    3434                $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
    3535                $post =  $this->_userId ? array('userid' => $this->_userId) : array();
     36                $this->_curlObj->post($post);
     37                return $this->_curlObj->execute();
     38        }
     39        public function getPreview () {
     40                $this->_curlObj->create($this->_apiUrl. 'space/preview/');
     41                $this->_curlObj->option(CURLOPT_BUFFERSIZE, 10);
     42                $this->_curlObj->options(array(CURLOPT_BUFFERSIZE => 10));
     43                $post =  $this->_userId ? array('fileid' => 575) : array();
    3644                $this->_curlObj->post($post);
    3745                return $this->_curlObj->execute();
Note: See TracChangeset for help on using the changeset viewer.