[Typo3-dev] Guide to slightly advanced programming in typo3?

Wolfgang Klinger wolfgang at stufenlos.net
Mon Apr 19 19:48:59 CEST 2004


 *hiya!*
On 17:43 Mon 19 Apr     , Mathias Schreiber [K1net] wrote:
> For me the best way would be, if I could seperate certain parts of the
> extension (shopping basket, products display) in its own files.
> So something like class.shop_basket.php and so on.
> My problem is how do I pass $this->cObj to the different classes?

 Either manage this through different frontend plugins (pi1, pi2, pi3)
 or with a simple controller that dispatches certain tasks to other
 classes and provides $this->cObj as parameter (constructor).

 I may miss something 8-)
 best regards
 Wolfgang
 





More information about the TYPO3-dev mailing list