hyperlink - Is it possible to link to a class method directly in cakephp 3? -


we can generate block of code using cells without appcontroller interposition. possible have html link cell methods or other methods without appcontroller interposition? this:

$this->html->link('show help' , ['controller'=>'cell::help' , 'action'=>'show']); 

no, that's not view cells ment for, elements on steroids, , name suggests, ment used in views.

if want app controller specific things non-ajax requests, example them conditionally

if (!$this->request->is('ajax')) {     // ... } 

see cookbook > request & response objects > checking request conditions


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -