Returns section name
@return {String}
488072
function() {
			if (this._name === null) {
				var range = this.nameRange();
				if (range) {
					this._name = range.substring(this.source());
				}
			}

			return this._name;
		}
151146
async function _getContentSections() {
  return Section.scope('content').findAll({
    where: {
      fields: {
        [Sequelize.Op.ne]: {},
      },
    },
    order: [
      [Sequelize.literal(`CASE WHEN name = '${Section.DEFAULT_NAME}' THEN 1 ELSE 0 END`), 'DESC'],
      ['multiple', 'ASC'],
      [Sequelize.cast(Sequelize.json('options.priority'), 'integer'), 'ASC'],
      ['name', 'ASC'],
    ],
  });
}
13004
public function panel_section() {
		$output = null;

		// render the section wrapper.
		$output .= '<div class="uix-' . esc_attr( $this->type ) . '-sections uix-sections">';

		$hidden = 'false';
		foreach ( $this->child as $section ) {

			if ( ! $this->is_section_object( $section ) && ! $this->is_control_object( $section ) ) {
				continue;
			}
			$section->struct['active'] = $hidden;
			$output                   .= $section->render();
			$hidden                    = 'true';
		}

		$output .= '</div>';

		return $output;
	}
992274
async function _content(Section) {
  const { Record } = Section.sequelize.models;
  const order = Utils.map(Record.DEFAULT_ORDER, (o) => { o.unshift('records'); return o; });
  const contentSections = await Section.scope('content').findAll({ include: 'records', order });
  return Utils.reduce(contentSections, (memo, section) => {
    /* eslint-disable-next-line no-param-reassign */
    memo[section.name] = Utils.map(section.records, record => record.get('content'));
    return memo;
  }, {});
}
1211584
def getSectionName(configObj,stepnum):
    
    for key in configObj.keys():
        if key.find('STEP '+str(stepnum)+':') >= 0:
            return key
1318234
async def section_name(self, sec_name=None):
        
        if self.writing:
            fvalue = sec_name.encode('ascii')
            await x.dump_uint(self.iobj, len(fvalue), 1)
            await self.iobj.awrite(bytearray(fvalue))

        else:
            ivalue = await x.load_uint(self.iobj, 1)
            fvalue = bytearray(ivalue)
            await self.iobj.areadinto(fvalue)
            return bytes(fvalue).decode('ascii')
1350986
function()
		{
			// Cache the lowercased name inside a closure.
			var nodeName = this.$.nodeName.toLowerCase();

			if ( CKEDITOR.env.ie && ! ( document.documentMode > 8 ) )
			{
				var scopeName = this.$.scopeName;
				if ( scopeName != 'HTML' )
					nodeName = scopeName.toLowerCase() + ':' + nodeName;
			}

			return (
			this.getName = function()
				{
					return nodeName;
				})();
		}
245856
def _get_section_name(cls, parser):
        """"""
        for section_name in cls.POSSIBLE_SECTION_NAMES:
            if parser.has_section(section_name):
                return section_name

        return None
1120648
def _get_section(self, name, create=True):
        """"""
        try:
            return self.sections[name]
        except KeyError:
            if not create:
                raise

            section = Section(name)
            self.sections[name] = section
            return section
844305
public function getSectionIdx($section)
    {
        $idx = -1;
        foreach ($this->sections as $key => $accordion_section) {
            if ($accordion_section->name === $section->name) {
                $idx = $key;
                break;
            }
        }

        return $idx;
    }
909366
function getName () {
    const pathname = url.parse(parts[parts.length - 1]).pathname;

    return pathname ? pathname.replace('/', '') : pathname;
  }
433599
protected function _get_index()
	{
		// get the section name and identifier
		$sections = explode('.', $this->identifier);
		if (count($sections) > 1)
		{
			$identifier = array_pop($sections);
			$sections = '.'.implode('.', $sections);
		}
		else
		{
			$identifier = $this->identifier;
			$sections = '';
		}

		// get the cache index and return it
		return array($identifier, $sections, xcache_get($this->config['cache_id'].$sections));
	}
1363039
def identifier(self):
        

        if not self.section.name:
            return self.name
        return preferences_settings.SECTION_KEY_SEPARATOR.join([self.section.name, self.name])
1204314
function getSections() {
    var sections = [];
    // add sections we know about
    for (var name in builtinSections)
      sections.push(builtinSections[name]);
    // add other sections
    for (var i in Espruino.Core.Config.data) {
      var c = Espruino.Core.Config.data[i];
      
      var found = false;
      for (var s in sections)
        if (sections[s].name == c.section)
          found = true;
      
      if (!found) {
        console.warn("Section named "+c.section+" was not added with Config.addSection");
        sections[c.section] = {
            name : c.section,
            sortOrder : 0
        };        
      }
    }
    // Now sort by sortOrder
    sections.sort(function (a,b) { return a.sortOrder - b.sortOrder; });
    
    return sections;
  }
877257
private String getValue(Class<?> section, String name) {

		if (section == null || name == null) {
			log.warn("Section or name is null, Section:'" + section
					+ "' name:'" + name + "'");
			return null;
		}

		if (fildes != null && lastModified != fildes.lastModified()) {
			getFileProperties(filePath);
		}

		// Getting the full name
		String propertyName = getPropertyName(section, name);

		// The tryng from file properties
		Object obj = fileProperties.get(propertyName);
		if (obj != null) {
			if (log.isDebugEnabled()){
				log.debug("propertyName:'" + propertyName + "' and value:'" + obj
						  + "' from file:'" + filePath + "'");
			}
			if (ObjectUtils.NULL.equals(obj)) {
				return null;
			} else {
				return (String) obj;
			}
		}

		// Else using the short name into the file properties

		String ret = (String) fileProperties.get(name);
		if (ret != null) {
			return (String) ret;
		}
		// Si es nulo al final se guardara en la cache

		// // try from the default path
		// Properties prop=FilePropertyUtils.getProperties(section);
		// if (prop!=null) {
		// // try the full cualified name
		// ret=prop.getProperty(name);
		// if (ret!=null) {
		// log.debug("propertyName:'"+propertyName+"' from file.prop");
		// fileProperties.put(propertyName,ret);
		// return (String)ret;
		// }
		// }

		// Getting property from system Propertie
		ret = (String) System.getProperty(propertyName);
		if (ret != null) {
			if (log.isDebugEnabled()){
				log.debug("Property name:'" + propertyName
						  + "' found in system properties.");
			}
			return ret;
		}

		// Sets the NULL value to this key
		fileProperties.put(propertyName, ObjectUtils.NULL);

		return null;
	}
271861
def _GetSectionNames(self, pefile_object):
    
    section_names = []
    for section in pefile_object.sections:
      section_name = getattr(section, 'Name', b'')
      # Ensure the name is decoded correctly.
      try:
        section_name = '{0:s}'.format(section_name.decode('unicode_escape'))
      except UnicodeDecodeError:
        section_name = '{0:s}'.format(repr(section_name))
      section_names.append(section_name)

    return section_names
312501
function ($section) {
            angular.forEach(pagesConfig, function (item) {
                item.active = false;
            });
            $section.active = true;
            return pagesConfig;
        }