public function get_static_value() {
        global $OUTPUT;
        // Checkboxes are always yes or no.
        if ($this->get_value()) {
            return $OUTPUT->pix_icon('i/valid', get_string('yes'));
        } else {
            return $OUTPUT->pix_icon('i/invalid', get_string('no'));
        }
    }
public function get_static_value() {
        global $OUTPUT;
        // Checkboxes are always yes or no.
        if ($this->get_value()) {
            return $OUTPUT->pix_icon('i/valid', get_string('yes'));
        } else {
            return $OUTPUT->pix_icon('i/invalid', get_string('no'));
        }
    }
public function get_static_value ( ) { global $ OUTPUT ; // Checkboxes are always yes or no. if ( $ this -> get_value ( ) ) { return $ OUTPUT -> pix_icon ( 'i/valid' , get_string ( 'yes' ) ) ; } else { return $ OUTPUT -> pix_icon ( 'i/invalid' , get_string ( 'no' ) ) ; } }
Gets the static value for the element
@global core_renderer $OUTPUT
@return string
Gets the static value for the element