User Tools

Site Tools


uphp:library_functions:library_functions

This is an old revision of the document!


uPHP Library Reference

uPHP Library functions are functions that are written in uPHP and distributed with the WattmonOS installation. You will need to include the relevant file using include() before calling the function.

Click on the function name for further details:

FUNCTION NAMEPARAMETER(S)RETURNDESCRIPTION
add_cronint filename, string interval intAdd a scheduled CRON script
add_roleint id, string role_name, int role_group, int role_type, int role_show, int role_def, string role_devices noneAdd a system role
fgets_longint handlestring lineRead a line without length restriction from an open file
quick_sortarray src_array, int sort_typearray resSort an array using quicksort
remove_cronint filename intRemove a scheduled CRON script
uphp/library_functions/library_functions.1617791981.txt.gz · Last modified: 2021/09/13 05:56 (external edit)