Und er setzte sich und rief die Zwölf und sprach zu ihnen: So jemand will der Erste sein, der soll der Letzte sein vor allen und aller Knecht. Markus 9:35
You must include the PHP code of the files which have the objects. Then you call the TYPO3 API to generate the object:
$viewObj = &t3lib_div::getUserObj('&tx_ttproducts_user_view');
And the init method must be called.
The basket object is in the file model/class.tx_ttproducts_basket.php .