How to use Custom Functions?
Posted: 05 Jul 2005, 15:45
Hi,
I would like to adapt Mantis for my use, so I want to change the code!
i did not really understand how the custom functions work:
for example I want to change the display of the array in the file manage_user_page.php
i need to override print_manage_user_sort_link(...)
Is it right that I have to put :
helper_call_custom_function( 'print_manage_user_sort_link', array( 'manage_user_page.php', lang_get( 'username' ), 'username', $c_dir, $c_sort, $c_hide ))
and then override the function in custom_functions_inc.php?
Thanks for your help
I would like to adapt Mantis for my use, so I want to change the code!
i did not really understand how the custom functions work:
for example I want to change the display of the array in the file manage_user_page.php
i need to override print_manage_user_sort_link(...)
Is it right that I have to put :
helper_call_custom_function( 'print_manage_user_sort_link', array( 'manage_user_page.php', lang_get( 'username' ), 'username', $c_dir, $c_sort, $c_hide ))
and then override the function in custom_functions_inc.php?
Thanks for your help