Eduardo G. Posted April 1, 2010 Share Posted April 1, 2010 There are some functions already created inside whmcs code that may help us while creating our own modules and reports. But there's no documentation about available functions or functions parameters, AFAIK. Maybe someone has a full list of funcions and wants to share them. For example, recently I've "discovered" these useful funcions: formatCurrency() fromMySQLDate() What other included funcions do you know? 0 Quote Link to comment Share on other sites More sharing options...
HerrZ Posted April 1, 2010 Share Posted April 1, 2010 i know them all print_r(get_defined_functions()); 0 Quote Link to comment Share on other sites More sharing options...
Eduardo G. Posted April 1, 2010 Author Share Posted April 1, 2010 Yes, thanks, or even better: echo "<pre>\n"; $arr = get_defined_functions(); print_r($arr['user']); echo "</pre>\n"; Anyway they should be documented, so developers could improve their builds without inverse engineering :-( 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.