public static function messageuser_requirejs() {
        global $PAGE;

        static $done = false;
        if ($done) {
            return;
        }

        $PAGE->requires->js_call_amd('core_message/message_user_button', 'send', array('#message-user-button'));
        $done = true;
    }
public static function messageuser_requirejs() {
        global $PAGE;

        static $done = false;
        if ($done) {
            return;
        }

        $PAGE->requires->js_call_amd('core_message/message_user_button', 'send', array('#message-user-button'));
        $done = true;
    }
public static function messageuser_requirejs ( ) { global $ PAGE ; static $ done = false ; if ( $ done ) { return ; } $ PAGE -> requires -> js_call_amd ( 'core_message/message_user_button' , 'send' , array ( '#message-user-button' ) ) ; $ done = true ; }
Requires the JS libraries for the message user button.

@return void
Requires the JS libraries for the message user button .