Get's the title of the bundle. Titles can be singular
        or plural.
347232
def get_title(self, plural=True):
        
        value = self.title
        if value == self.parent_attr:
            return self.parent.get_title(plural=plural)

        if not value and self._meta.model:
            value = helpers.model_name(self._meta.model,
                                       self._meta.custom_model_name,
                                       self._meta.custom_model_name_plural,
                                       plural)
        elif self.title and plural:
            value = helpers.pluralize(self.title, self.title_plural)

        return helpers.capfirst_if_needed(value)
1296158
public static String get(Bundle bundle) {
    String applicationPath = ApplicationPath.get(bundle);
    if (applicationPath == null) {
      return null;
    }
    if (!hasHalDocs(bundle)) {
      return null;
    }
    return get(applicationPath);
  }
1226362
def title(self):
        
        tmp = c.namemap_lookup(self.id) if c.namemap_lookup(self.id) is not None else self._title
        return secure_filename(tmp)
412627
def _get_full_title(self):
        """"""
        if len(self.arguments) > 0:  # a title was passed
            if 'title_from_content' in self.options:
                self.log.warning(
                    'Needs: need "{}" has :title_from_content: set, '
                    'but a title was provided. (see file {})'
                        .format(self.arguments[0], self.docname)
                )
            return self.arguments[0]
        elif self.title_from_content:
            first_sentence = ' '.join(self.content).split('.', 1)[0]
            if not first_sentence:
                raise NeedsInvalidException(':title_from_content: set, but '
                                            'no content provided. '
                                            '(Line {} of file {}'
                                            .format(self.lineno, self.docname))
            return first_sentence
        else:
            return ''
543384
function getTitleFromChartItem(chartItem) {
	var title;
	try {
		title = chartItem.children[1].children[5].children[1].children[1].children[1].children[0].data.replace(/\n/g, '');
	} catch (e) {
		title = '';
	}
	return title;
}
188444
def do_title(s):
    
    return ''.join(
        [item[0].upper() + item[1:].lower()
         for item in _word_beginning_split_re.split(soft_unicode(s))
         if item])
971236
def get_title(self):
        
        if self.category == 'cable':
            strings = get_strings(self.soup, 'strong')
        else:
            strings = get_strings(self.soup, 'b')

        if len(strings) == 0:
            strings = get_strings(self.soup, 'strong')

        if len(strings) >= 1 and self.category == 'cable':
            return strings[0]
        elif len(strings) > 0 and 'Fast' in strings[-1]:
            return strings[0]

        return ''.join(strings)
537997
def get_title (self):
        """"""
        if self.title is None:
            url = u""
            if self.base_url:
                url = self.base_url
            elif self.url:
                url = self.url
            self.title = url
            if "/" in url:
                title = url.rsplit("/", 1)[1]
                if title:
                    self.title = title
        return self.title
539421
def get_title(soup):
  """"""
  if soup.title:
    return soup.title.string
  if soup.h1:
    return soup.h1.string
  return ''
1338822
@Override
	public String getTitle() {
		if (optionsToShowConfiguration.isShowTitleOption()) {
			String title = titleTextBox.getText().trim();
			if (title != null && !title.isEmpty()) {
				return title;
			}
		}
		return super.getTitle();
	}
996656
function (title) {
                var document = window.document;
                if (ariaUtilsType.isString(title)) {
                    document.title = title;
                } else {
                    title = document.title;
                }
                return title;
            }
1250784
private JoinableResourceBundle getBundleFromName(String name, List<JoinableResourceBundle> bundles) {

		JoinableResourceBundle bundle = null;
		for (JoinableResourceBundle aBundle : bundles) {
			if (aBundle.getName().equals(name)) {
				bundle = aBundle;
				break;
			}
		}

		return bundle;
	}
182761
private ResourceBundle getBundle() {
        String bundleKey = getBundleKey();
        if (bundles.containsKey(bundleKey)) {
            return bundles.get(bundleKey);
        } else {
            ResourceBundle bundle = loadBundle();
            bundles.put(bundleKey, bundle);
            return bundle;
        }
    }
1293310
def get_text(self, title):
        
        r = requests.get(self.api,
                         params={'action': 'parse', 'page': title, 'format': 'json'},
                         headers=self.header)
        jsd = r.json()
        return jsd['parse']['text']['*']
9686
def obtain_the_title(check = nil)
    	post = obtain_record(check)
    	render :inline => post.post_title if !post.blank?
    end
1246076
def title(self):
        
        if self._title is None:
            self._title = self.get_title()
        return self._title
1135074
def get_title(self):
        
        w = self.arrangement.get_active_window()

        if w and w.active_process:
            title = w.active_process.screen.title
        else:
            title = ''

        if title:
            return '%s - Pymux' % (title, )
        else:
            return 'Pymux'