controller/frontend/src/Controller/Frontend/Catalog/Standard.php
public function getPath( $id )
	{
		$list = $this->manager->getPath( $id, $this->domains );

		if( $this->root )
		{
			foreach( $list as $key => $item )
			{
				if( $key == $this->root ) {
					break;
				}
				unset( $list[$key] );
			}
		}

		return $list;
	}
public function getPath( $id )
	{
		$list = $this->manager->getPath( $id, $this->domains );

		if( $this->root )
		{
			foreach( $list as $key => $item )
			{
				if( $key == $this->root ) {
					break;
				}
				unset( $list[$key] );
			}
		}

		return $list;
	}
public function getPath ( $ id ) { $ list = $ this -> manager -> getPath ( $ id , $ this -> domains ) ; if ( $ this -> root ) { foreach ( $ list as $ key => $ item ) { if ( $ key == $ this -> root ) { break ; } unset ( $ list [ $ key ] ) ; } } return $ list ; }
Returns the list of categories up to the root node including the node given by its ID

@param integer $id Current category ID
@return \Aimeos\MShop\Catalog\Item\Iface[] Associative list of categories
@since 2017.03
Returns the list of categories up to the root node including the node given by its ID