EkomiRequestAbstractRequest

Class AbstractRequest.

Defined (1)

The class is defined in the following location(s).

/includes/libraries/Ekomi/Request/AbstractRequest.php  
  1. abstract class AbstractRequest implements RequestInterface{ 
  2. protected $soapExcludeItems = array(); 
  3.  
  4. private $version = 'cust-1.0.0'; 
  5. private $type = 'json'; 
  6. private $charset = 'utf-8'; 
  7.  
  8. public function unsetItemsInArray(array $queryArray) { 
  9. if(count($this->getSoapExcludeItems())>0) { 
  10. foreach($this->getSoapExcludeItems() as $value) { 
  11. unset($queryArray[$value]); 
  12. return $queryArray; 
  13.  
  14. /** 
  15. * @return array 
  16. */ 
  17. protected function getSoapExcludeItems() 
  18. return $this->soapExcludeItems; 
  19.  
  20. /** 
  21. * @return string 
  22. */ 
  23. protected function getVersion() 
  24. return $this->version; 
  25.  
  26. /** 
  27. * @return string 
  28. */ 
  29. protected function getType() 
  30. return $this->type; 
  31.  
  32. /** 
  33. * @return string 
  34. */ 
  35. protected function getCharset() 
  36. return $this->charset;