[TYPO3-ect] How to print out member variables?

walk2moon walk2moon at gmx.de
Sun Mar 22 12:33:02 CET 2009


Hello everybody,

still I do not solve my problems with taht three-component-model.

I do have a model-class with some prepared data:

-------------
class tx_test_models_example extends tx_lib_object {
	
	var $testMember;
	
	function tx_test_models_example(){
		parent::tx_lib_object();
	}

	function useMember(){
		$this->member = $this->controller->configurations->get('membertextOutOfFlexform');
                $this->set('member',$this->member);
	}
...
-------------

Ok, the thing is, that I can't use $this-set()-method, if I don't have the tx_test_models_example()-constructor. 
But if I have the constructor I can't reach the configurations with $this->controller->configurations->get('membertextOutOfFlexform');...

Any suggestions to me? At the moment I am a little confused.
Thanks to anybody, who could help me.

Walter

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01


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