コード例 #1
0
 /**
  * render the content of $controller::$action and set the response to a new panel
  * @param JsUtils $js
  * @param string $title The panel title
  * @param Controller $initialControllerInstance
  * @param string $controllerName the controller name
  * @param string $actionName the action name
  * @param mixed $params
  */
 public function forwardPanel(JsUtils $js, $title, $initialControllerInstance, $controllerName, $actionName, $params = NULL)
 {
     return $this->addPanel($title, $js->forward($initialControllerInstance, $controllerName, $actionName, $params));
 }
コード例 #2
0
 /**
  * render the content of $controller::$action and set the response to a new panel
  * @param JsUtils $js
  * @param string $title The panel title
  * @param Controller $initialController
  * @param string $controller a Phalcon controller
  * @param string $action a Phalcon action
  * @param array $params
  */
 public function forwardPanel(JsUtils $js, $title, $initialController, $controller, $action, $params = array())
 {
     return $this->addPanel($title, $js->forward($initialController, $controller, $action, $params));
 }
コード例 #3
0
ファイル: HtmlModal.php プロジェクト: jcheron/phalcon-jquery
 /**
  * render the content of $controller::$action and set the response to the modal content
  * @param JsUtils $js
  * @param string $title The panel title
  * @param Controller $initialControllerInstance
  * @param string $controllerName the controller name
  * @param string $actionName the action name
  */
 public function forward(JsUtils $js, $initialControllerInstance, $controllerName, $actionName, $params = NULL)
 {
     $this->content = $js->forward($initialControllerInstance, $controllerName, $actionName, $params);
 }
コード例 #4
0
ファイル: HtmlModal.php プロジェクト: jcheron/phalcon-jquery
 /**
  * render the content of $controller::$action and set the response to the modal content
  * @param JsUtils $js
  * @param string $title The panel title
  * @param Controller $initialControllerInstance
  * @param string $controllerName the controller name
  * @param string $actionName the action name
  */
 public function forward(JsUtils $js, $initialControllerInstance, $controllerName, $actionName, $params = NULL)
 {
     return $this->setContent($js->forward($initialControllerInstance, $controllerName, $actionName, $params));
 }