[TYPO3-ect] some $pipe problems

Fabien Udriot fudriot at omic.ch
Tue Aug 21 20:51:53 CEST 2007


I meet some problem with the new way... the $pipe's object does not 
seems to be OK after the first makeInstance.

-- My model looks like this :

class tx_ecobox_models_content extends tx_lib_processor {

}

-- In my controller, the first lines :
$pipe = $this->makeInstance('tx_ecobox_models_content');
print_r($pipe);

the output is quasi an empty array :

tx_ecobox_models_content Object ( [totalResultCountKey] => 
totalResultCount [resultListKey] => resultList [status] => 1 
[controller] => [_iterator] => [cObjectSingleton] => [defaultDesignator] 
=> [defaultDestinaton] => ) 3

However, in tx_bananas_controllers_list the "print_r" gives me a fully 
object :

$pipe = $this->makeInstance('tx_bananas_models_board');
print_r($pipe);

tx_bananas_models_board Object ( [status] => [controller] => 
tx_bananas_controllers_list Object ( [defaultDesignator] => 
tx_bananas_controllers_list [contextClassName] => tx_lib_context 
[configurationsClassName] => etc...................


What have I missed ?


Fabien

Ps. And yes, I have cleared the cache and update the setup.txt ;)


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