public function get_heading($adding = false) {
        if ($adding) {
            $string = 'pluginnameadding';
        } else {
            $string = 'pluginnameediting';
        }
        return get_string($string, $this->plugin_name());
    }
public function get_heading($adding = false) {
        if ($adding) {
            $string = 'pluginnameadding';
        } else {
            $string = 'pluginnameediting';
        }
        return get_string($string, $this->plugin_name());
    }
public function get_heading ( $ adding = false ) { if ( $ adding ) { $ string = 'pluginnameadding' ; } else { $ string = 'pluginnameediting' ; } return get_string ( $ string , $ this -> plugin_name ( ) ) ; }
Method called by display_question_editing_page and by question.php to get
heading for breadcrumbs.

@return string the heading
Method called by display_question_editing_page and by question . php to get heading for breadcrumbs .