Getter, get the label for this flat_navigation node, or it's parent if it doesn't have one.

@return string
330690
public function get_collectionlabel() {
        if (!empty($this->collectionlabel)) {
            return $this->collectionlabel;
        }
        if ($this->parent && ($this->parent instanceof flat_navigation_node || $this->parent instanceof flat_navigation)) {
            return $this->parent->get_collectionlabel();
        }
        debugging('Navigation region requires a label', DEBUG_DEVELOPER);
        return '';
    }
508678
public function getParent()
    {
        $sParent = $this->getInfo('parentTheme');
        if (!$sParent) {
            return null;
        }
        $oTheme = oxNew(\OxidEsales\Eshop\Core\Theme::class);
        if ($oTheme->load($sParent)) {
            return $oTheme;
        }

        return null;
    }
794661
public function getSiblingNode()
    {
        if ($this->siblingDomAddress === null) {
            return null;
        }

        if ($this->cachedSiblingNode === null) {
            $this->cachedSiblingNode = $this->nodeService->getNodeFromContextPath(
                $this->siblingDomAddress->getContextPath()
            );
        }

        return $this->cachedSiblingNode;
    }
1011523
public function getLabel()
    {
        $translationHelper = new TranslationHelper();
        return isset($this->configuration['label']) ? $translationHelper->translate($this->configuration['label']) : '';
    }
201031
protected function buttonLabel()
    {
        if (!empty($this->buttonLabel) && is_string($this->buttonLabel)) {
            return $this->buttonLabel;
        }
        return $this->bootstrapDefaults['buttonLabel'];
    }
123404
public function getLabel($default = null)
		{
			$label  = $this->getTag('label');
			if( ! $label )
			{
				$label  = $default ?: $this->ref->getName();
				$label  = preg_replace('/^(.+)Controller$/', '$1', $label);
				//$label  = preg_replace('/_/', ' ', $label);
				//$label  = preg_replace('/([a-z])([A-Z0-9])/', '$1 $2', $label);
				//$label  = strtolower($label);
			}
			return $label;
		}
699471
public function getParent()
    {
        if ($this->path === '/') {
            return null;
        }

        return $this->nodeDataRepository->findOneByPath($this->parentPath, $this->workspace);
    }
640936
public function getNodeType()
	{
		if ( is_null( $this->domNode ) ) return null;
		return isset(  DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ] )
			? DOMXPathNavigator::$nodeTypeMap[ $this->domNode->nodeType ]
			: XPathNodeType::Element;
	}
337322
public String getLabel() {
            String label = getProperty(labelProperty);
            label = label == null ? node.getLabel() : label;

            if (label == null) {
                label = getDefaultInstanceName();
                setProperty(labelProperty, label);
            }

            return label;
        }
977256
public function getLabel()
    {
        /** @var DeliveryFieldsService $deliveryFieldsService */
        $deliveryFieldsService = $this->getServiceLocator()->get(DeliveryFieldsService::SERVICE_ID);
        $label = $deliveryFieldsService->getLabel(
            $this->getImplementation()->getDelivery(),
            $this->getImplementation()->getLabel()
        );
        return $label;
    }
795793
public function displayVal()
    {
        $prop = $this->p();
        $val  = $this->propertyVal();

        if ($val !== null) {
            return $prop->displayVal($val);
        }

        if ($prop->allowNull()) {
            $nil = $this->emptyChoice();
            return (string)$nil['label'];
        }

        return '';
    }
221411
protected function getLabel()
	{
		if (isset($this->labelOptions['class']))
			$this->labelOptions['class'] .= ' control-label';
		else
			$this->labelOptions['class'] = 'control-label';

		return parent::getLabel();
	}
604447
public function getTabLabel() {
    if ($this->context === 'new') {
      return $this->entityMeta->getNewLabel();
    } elseif ($this->context === 'grid') {
      return $this->entityMeta->getGridLabel();
    } elseif ($this->context === self::CONTEXT_SEARCHPANEL) {
      return $this->entityMeta->getSearchLabel();
    } elseif ($this->context === self::CONTEXT_DEFAULT) {
      return $this->entityMeta->getLabel();
    } else {
      throw new \InvalidArgumentException(sprintf("Context '%s' ist unbekannt",$this->context));
    }
  }
491905
public function getName()
	{
		$items = $this->getRefItems( 'text', 'name' );

		if ( ( $item = reset( $items ) ) !== false ) {
			return $item->getContent();
		}

		return $this->getLabel();
	}
900498
public function getLabel() {
		
		// no label, get it by the control’s name
		if (!$this->label) {
			
			$label = ucwords(preg_replace(array('/(?<=[^A-Z])([A-Z])/', '/(?<=[^0-9])([0-9])/'), ' $0', $this->name));
		
		// check if it’s a translation key, uppercase over 3 chars
		} else if (strtoupper($this->label) == $this->label and strlen($this->label) > 3) {

			$label = Translator::do($this->label);
			
		// simple label
		} else {
			
			$label = $this->label;
			
		}
		
		return $label;
		
	}
385730
public function getStateLabel()
    {
        $list = self::getStateList();

        return isset($list[$this->getState()]) ? $list[$this->getState()] : null;
    }
55085
public function getDescription()
    {
        $flattened = (array) $this->getStringTask();
        $flattened = implode('/', $flattened);

        return parent::getDescription() ?: $flattened;
    }