/** * Get the Javascript client generator * @return JPSpan_Generator * @access public */ function getGenerator() { require_once JPSPAN . 'Generator.php'; $G = new JPSpan_Generator(); $gen = new TAJAXGenerator(); $gen->setService($this->service); $G->init($gen, $this->descriptions, $this->serverUrl, $this->RequestEncoding); return $G; }
/** * Get the Javascript client generator * @return JPSpan_Generator * @access public */ function getGenerator() { require_once JPSPAN . 'Generator.php'; $G = new JPSpan_Generator(); $gen = new TCallbackGenerator(); $gen->setService($this->service); $gen->setPostDataList($this->postDataKeys); $G->init($gen, $this->descriptions, $this->serverUrl, $this->RequestEncoding); return $G; }
/** * Get the Javascript client generator * @return JPSpan_Generator * @access public */ function getGenerator() { require_once JPSPAN . 'Generator.php'; $G = new JPSpan_Generator(); $G->init(new JPSpan_PostOffice_Generator(), $this->descriptions, $this->serverUrl, $this->RequestEncoding); return $G; }