[TYPO3-german] php script einbinden
Alexander Averbukh
alav at gmx.net
Fri Feb 21 14:09:33 CET 2014
Das PHP-Script sieht dann so aus:
class user_testMd5 {
var $cObj;// The backReference to the mother cObj object set at call time
/**
* Call it from a USER cObject with 'userFunc = user_randomImage->main_randomImage'
*/
function main($content,$conf)
{
$content.='<span style="color:'.$conf["color"].'">'.$conf["value"].' as md5 '.md5($conf["value"]).'</span>';
return $content;
}
}
More information about the TYPO3-german
mailing list