eduTrac SIS Support Center

eduTrac SIS Support Center

  • Support
    • Forums
    • Issues
  • Services
    • Support
    • Enterprise
  • News
  • Resources
  • Subscription

 

Filter by type:
Search
Browse: Home / Reference / Functions / dopt()

dopt ( $perm )

Disable option

Source file: app/functions/auth-function.php

View source


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


User Contributed Notes

Have a note to contribute?

Cancel reply

You must log in before being able to contribute a note.

About eduTrac SIS

eduTrac SIS is a free and open source student information system for higher education. We believe that it is the best free system out there for higher education and specialized schools.

 

Follow eduTrac SIS