public static function getConstantByName($name)
    {
        switch (strtolower($name)) {
            case 'author':
                return self::AUTHOR;
            break;

            case 'candidate':
                return self::CANDIDATE;
            break;

            case 'proctor':
                return self::PROCTOR;
            break;

            case 'scorer':
                return self::SCORER;
            break;

            case 'testconstructor':
                return self::TEST_CONSTRUCTOR;
            break;

            case 'tutor':
                return self::TUTOR;
            break;

            default:
                return false;
            break;
        }
    }