GWOO:
I have played a little with this and for some reason doesn't work.
---------------------
my_controller {
var $view = 'norender';
function foo(){
$myViewObject= new norenderView($this);
}
}
---------------------
class norenderView extends View {
function renderNOT(){}
}
---------------------
Fatal error: Class 'norenderView' not found
but it's not a naming problem, since if I comment out the object
instantiation, it does all well. the custom class gets included well,
but it cannot be instatntiated....
thnkyu
On 11 sep., 20:28, Gwoo <[EMAIL PROTECTED]> wrote:
> /app/views/my_custom_view.php
>
> $this->view = 'MyCustomView';
>
> M yCustomView extends View
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---