public function strings_for_js($identifiers, $component = 'moodle', $a = null) {
        $string = new stdClass;
        $string->identifiers = (array)$identifiers;
        $string->component = $component;
        $string->a = $a;
        $this->jsstrings[] = $string;
    }
public function strings_for_js($identifiers, $component = 'moodle', $a = null) {
        $string = new stdClass;
        $string->identifiers = (array)$identifiers;
        $string->component = $component;
        $string->a = $a;
        $this->jsstrings[] = $string;
    }
public function strings_for_js ( $ identifiers , $ component = 'moodle' , $ a = null ) { $ string = new stdClass ; $ string -> identifiers = ( array ) $ identifiers ; $ string -> component = $ component ; $ string -> a = $ a ; $ this -> jsstrings [ ] = $ string ; }
Requires strings for JS that will be loaded when the button is used.

@param type $identifiers
@param string $component
@param mixed $a
Requires strings for JS that will be loaded when the button is used .