ErrorHandler::error404(array('url'=>'...', 'message'=> 'Stuff'));

of ErrorHandler::error() if you're feeling the need for more control
and less convenience.

see: http://api.cakephp.org/1.2/class_error_handler.html for more
details

simon
http://www.simonellistonball.com/

On Apr 9, 3:16 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> How can you tell Cake to throw a 404 error via the Controller? Thanks
> for any help as always.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to