/** * Constructor * * Base constructor * * @access public */ public function __construct() { $filePath = ___MODULE_QB_SERVICES___; $filePrefix = "service."; $classPrefix = __CLASS__ . "_"; parent::__construct($filePath, $filePrefix, $classPrefix); }
/** * Constructor * * Base constructor * * @access public */ public function __construct() { $filePath = ___MODULE_QB_ENTITIES___; $filePrefix = "entity."; $classPrefix = __CLASS__ . "_"; parent::__construct($filePath, $filePrefix, $classPrefix); }
/** * Execute a handler service * * Method is a wrapper for handling all executed services * * @access private * @param string $handler The service to execute * @param array &$data The referenced data array * @return mixed The output of the executed service */ private function execHandler($handler, &$data) { if (!parent::exec($output, $handler, "handle", $data)) { $this->setLastError("An error occured in the " . $handler . " SOAP handler: " . parent::getLastError()); } return $output; }