Home » Interview Question » Cake Php » Define the attributes of before filter in your controller

Define the attributes of before filter in your controller

Define the attributes of before filter in your controller

Some pages in cakephp admin application are required to access before user login, if we use auth components in cakephp application then we should  define (except login and logout)all these action in before controller which we want to access  before login,Ex register, forgotPassword and other pages

You can define before filter in app controller

, , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">