public function getName()
	{
		$items = $this->getRefItems( 'text', 'name' );

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

		return $this->getLabel();
	}
public function getName()
	{
		$items = $this->getRefItems( 'text', 'name' );

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

		return $this->getLabel();
	}
public function getName ( ) { $ items = $ this -> getRefItems ( 'text' , 'name' ) ; if ( ( $ item = reset ( $ items ) ) !== false ) { return $ item -> getContent ( ) ; } return $ this -> getLabel ( ) ; }
Returns the localized name of the item or the internal label if no name is available.

@return string Name or label of the item
Returns the localized name of the item or the internal label if no name is available .