Zepi/Web/UserInterface/src/Layout/AbstractContainer.php
public function getPath(AbstractContainer $startingFrom = null)
    {
        $id = '';
        if (is_object($this->parent) && $startingFrom !== $this->parent) {
            $id = $this->parent->getPath($startingFrom);
        }
    
        if ($id != '' && substr($id, -1) != '.') {
            $id .= '.';
        }
        
        if ($this->publicKey !== '') {
            $id .= $this->publicKey;
        }
    
        return $id;
    }
public function getPath(AbstractContainer $startingFrom = null)
    {
        $id = '';
        if (is_object($this->parent) && $startingFrom !== $this->parent) {
            $id = $this->parent->getPath($startingFrom);
        }
    
        if ($id != '' && substr($id, -1) != '.') {
            $id .= '.';
        }
        
        if ($this->publicKey !== '') {
            $id .= $this->publicKey;
        }
    
        return $id;
    }
public function getPath ( AbstractContainer $ startingFrom = null ) { $ id = '' ; if ( is_object ( $ this -> parent ) && $ startingFrom !== $ this -> parent ) { $ id = $ this -> parent -> getPath ( $ startingFrom ) ; } if ( $ id != '' && substr ( $ id , - 1 ) != '.' ) { $ id .= '.' ; } if ( $ this -> publicKey !== '' ) { $ id .= $ this -> publicKey ; } return $ id ; }
Returns the path for the element, starting from the given
AbstractContainer

@return string
Returns the path for the element starting from the given AbstractContainer