function beforeRender() {
if ($this->autoLayout && is_array($this->helpers)) {
switch ($this->layout) {
case 'custom_one':
$this->helpers = am($this->helpers, array('Menu',
'BreadCrumbs'));
break;
case 'custom_two':
$this->helpers[] = 'Menu';
break;
default:
break;
}
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---