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 / _bool()

_bool ( $num )

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

View source


Used by

Uses


Source

function _bool($num)
{
    switch ($num) {
        case 1:
            return 'Yes';
            break;
        case 0:
            return 'No';
            break;
    }
}

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