[TYPO3] Passing content to php functions

media.res | Alex Widschwendter a.widschwendter at mediares.at
Thu Aug 23 19:54:01 CEST 2007


hi brian,

you have to return the content....

> Suppose I have the following in a file called test.inc\n
> <?php
> class user_test {
>   function testFunc($content, $conf) {
>     $content = "<p>Hello world!</p>"; } // end function testFunc($content, $conf) 
	return $content;



> } // end class user_test
> ?>

hth

alex


More information about the TYPO3-english mailing list