public function get_handler_classname() {
        global $CFG;

        if (!empty($CFG->sitepolicyhandler)) {
            $sitepolicyhandlers = $this->get_all_handlers();

            if (!isset($sitepolicyhandlers[$CFG->sitepolicyhandler])) {
                return default_handler::class;

            } else {
                return $sitepolicyhandlers[$CFG->sitepolicyhandler];
            }

        } else {
            return default_handler::class;
        }
    }
public function get_handler_classname() {
        global $CFG;

        if (!empty($CFG->sitepolicyhandler)) {
            $sitepolicyhandlers = $this->get_all_handlers();

            if (!isset($sitepolicyhandlers[$CFG->sitepolicyhandler])) {
                return default_handler::class;

            } else {
                return $sitepolicyhandlers[$CFG->sitepolicyhandler];
            }

        } else {
            return default_handler::class;
        }
    }
public function get_handler_classname ( ) { global $ CFG ; if ( ! empty ( $ CFG -> sitepolicyhandler ) ) { $ sitepolicyhandlers = $ this -> get_all_handlers ( ) ; if ( ! isset ( $ sitepolicyhandlers [ $ CFG -> sitepolicyhandler ] ) ) { return default_handler :: class ; } else { return $ sitepolicyhandlers [ $ CFG -> sitepolicyhandler ] ; } } else { return default_handler :: class ; } }
Returns the current site policy handler

@return handler
Returns the current site policy handler