this f* google groups drive me crazy. this is the 4th post that will
probably NOT BE POSTED.
(well, if you are reading this a miracle has happened ...)
Anyone has similar troubles?
On 12 sep., 16:19, nate <[EMAIL PROTECTED]> wrote:
> You're doing it wrong. Cake handles the loading and instantiating of
> view classes internally.
>
> On Sep 12, 9:54 am, DanielSun <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---