registry->getClass('output')->addJSModule(\"" . addslashes( $data ) . '", "' . addslashes( $priority ) . '" )' . ' . "'; //$this->registry->output->addJSModule( $data, $priority ); } return ''; } /** * Return information about this modifier * * It MUST contain an array of available options in 'options'. If there are no allowed options, then use an empty array. * Failure to keep this up to date will most likely break your template tag. * * @access public * @author Matt Mecham * @return array */ public function getPluginInfo() { //----------------------------------------- // Return the data, it's that simple... //----------------------------------------- return array( 'name' => 'js_module', 'author' => 'IPS, Inc.', 'usage' => '{parse js_module="name_of_module"}', 'options' => array('important') ); } }