original_string: public function include_device_ajax() {
          global $PAGE, $CFG;
  
          $config = new stdClass();
          $config->resturl = '/message/output/airnotifier/rest.php';
          $config->pageparams = array();
  
          // Include toolboxes.
          $PAGE->requires->yui_module('moodle-message_airnotifier-toolboxes', 'M.message.init_device_toolbox', array(array(
                  'ajaxurl' => $config->resturl,
                  'config' => $config,
                  ))
          );
  
          // Required strings for the javascript.
          $PAGE->requires->strings_for_js(array('deletecheckdevicename'), 'message_airnotifier');
          $PAGE->requires->strings_for_js(array('show', 'hide'), 'moodle');
  
          return true;
      }
code: public function include_device_ajax() {
          global $PAGE, $CFG;
  
          $config = new stdClass();
          $config->resturl = '/message/output/airnotifier/rest.php';
          $config->pageparams = array();
  
          // Include toolboxes.
          $PAGE->requires->yui_module('moodle-message_airnotifier-toolboxes', 'M.message.init_device_toolbox', array(array(
                  'ajaxurl' => $config->resturl,
                  'config' => $config,
                  ))
          );
  
          // Required strings for the javascript.
          $PAGE->requires->strings_for_js(array('deletecheckdevicename'), 'message_airnotifier');
          $PAGE->requires->strings_for_js(array('show', 'hide'), 'moodle');
  
          return true;
      }
code_tokens: public function include_device_ajax ( ) { global $ PAGE , $ CFG ; $ config = new stdClass ( ) ; $ config -> resturl = '/message/output/airnotifier/rest.php' ; $ config -> pageparams = array ( ) ; // Include toolboxes. $ PAGE -> requires -> yui_module ( 'moodle-message_airnotifier-toolboxes' , 'M.message.init_device_toolbox' , array ( array ( 'ajaxurl' => $ config -> resturl , 'config' => $ config , ) ) ) ; // Required strings for the javascript. $ PAGE -> requires -> strings_for_js ( array ( 'deletecheckdevicename' ) , 'message_airnotifier' ) ; $ PAGE -> requires -> strings_for_js ( array ( 'show' , 'hide' ) , 'moodle' ) ; return true ; }
docstring: Include the relevant javascript and language strings for the device
  toolbox YUI module
  
  @return bool
docstring_tokens: Include the relevant javascript and language strings for the device toolbox YUI module