How to print out member variables?

View: New views
1 Messages — Rating Filter:   Alert me  

How to print out member variables?

by Walter Seeberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
_______________________________________________
TYPO3-team-extension-coordination mailing list
TYPO3-team-extension-coordination@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination