dopt ( $perm )
Disable option
Source file: app/functions/auth-function.php
Used by
- app/functions/hook-function.php: course_sec_status_select()
Uses
- app/functions/auth-function.php: hasPermission()
Source
function dopt($perm) { if (!hasPermission($perm)) { return ' disabled'; } }
Expand full source code Collapse full source code View on Github