[TYPO3-ect] Entries views

Juan Madurga panchetemadurga at hotmail.com
Sat Sep 29 19:45:42 CEST 2007


Hello,
I have just solve it adding:
		$model->controller($this);
after the creation of the object:
		$model = new $modelClassName($this);
I dnt understand why if i do:
                $view = new $listClassName($this);
It take the controller well but with the model object the constructor didnt 
work fine i had to add set the controller not in the constructor.




>From: Elmar Hinz <elmar07 at googlemail.com>
>Reply-To: TYPO3 extension coordination 
>team<typo3-team-extension-coordination at lists.netfielders.de>
>To: typo3-team-extension-coordination at lists.netfielders.de
>Subject: Re: [TYPO3-ect] Entries views
>Date: Fri, 28 Sep 2007 20:31:14 +0200
>
> > - I dont know why i dont have a controller in that method because in
> > bananas extension works.
>
>Hi,
>
>I guess you didn't set the controller in the model, when creating the
>objects.
>
>Regards
>
>Elmar
>
>
>_______________________________________________
>TYPO3-team-extension-coordination mailing list
>TYPO3-team-extension-coordination at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination

_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos



More information about the TYPO3-team-extension-coordination mailing list