Example #1
0
 /**
  * Set the web service parameters
  * @param $params   the arrray of GET parameters
  */
 public function setParams($params = array())
 {
     // Construct the output of the web service
     if (isset($params['f'])) {
         $this->_output = WSOutput::OutputFactory($params['f']);
         unset($params['f']);
     } else {
         $this->_output = WSOutput::OutputFactory();
     }
     $this->_params = $params;
 }
Example #2
0
 /**
  * Constructor for the web service 
  * @param $params array  the array of GET parameters
  * */
 protected function __construct()
 {
     parent::__construct();
 }