how to call a custom method of controller

Collapse
X
 
  • Time
  • Show
Clear All
new posts

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

    Leave a comment:


  • Abanoub
    started a topic how to call a custom method of controller

    how to call a custom method of controller

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