Announcement

Collapse
No announcement yet.

how to call a custom method of controller

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to call a custom method of controller

    if I have a function actionTest().. how do I reques/submit to it ? from the view?

  • #2
    PHP Code:
    public function postActionTest($params$data$request
    PHP Code:
    this.ajaxPostRequest('EntityType/action/test', {
      
    key1'Value1'
    }).then(function () {

    }.
    bind(this)); 

    Comment

    Working...
    X