Thanks, that's actually much along the lines of what I was thinking.
Your idea of 301ing to the correct page is better than my thought of
404ing. I don't like the idea of having to paste the seoCheck() into
all of my controller methods, so could we work this into beforeFiler
()? Something like...

$method = new ReflectionMethod($this, $controllerMethod);
$allowedArgs = $method->getNumberOfParameters();
$this->seoCheck($funcArgs, $allowedArgs, $baseUrl);

Problem is, how do values for $controllerMethod, $funcArgs and
$baseURL get set in beforeFilter()?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to