[TYPO3-mvc] ViewHelper obj

Christian Schwan - Dimme GmbH christian.schwan at dimme.ch
Mon Jul 12 13:53:38 CEST 2010


HE guys

 

Im trying to get the property via ViewHelper

 

                /**

                 * @var array

                 */

                protected $amount;

 

    public function render($amount = array()) {

     

    foreach ($amount as $am) {

    $test += $am->getTotal;

    }

       return $test;

    }

 

Print_r($am) show me the obj.

Now I tried to geht the Property Total, but it doesn't work!?

 

 



More information about the TYPO3-project-typo3v4mvc mailing list