/**
  * Create a new callback server.
  * @param string server URI.
  */
 public function __construct($uri = null)
 {
     parent::__construct($uri);
     $this->posts = new TCollection();
     $this->posts->add(TPage::INPUT_VIEWSTATE);
     $this->response = new TCallbackResponse();
 }
Пример #2
0
 /**
  * Get the client-side javascript code URL.
  * @return string client-side javascript source URL.
  */
 public function getClientUri()
 {
     return $this->server->getJsSrc();
 }