Let's say I have a little game that when you're sleeping, you lose access to a specific controller. But this controller has like 7 actions and I don't want to write the "if($this->is_sleeping()) return;" code in each action. So I need to create a function in the controller that will run before any action in the controller.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
