class user_json {
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='"'.$conf['value'].'":"'.json_encode($content,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP).'"';
return $content;
}
}
?>