original_string: public function getParentId($id)
      {
          $path = $this->getProperty($id, self::PATH);
          array_pop($path);
  
          return empty($path)
              ? null // the given item is the root
              : array_pop($path);
      }
code: public function getParentId($id)
      {
          $path = $this->getProperty($id, self::PATH);
          array_pop($path);
  
          return empty($path)
              ? null // the given item is the root
              : array_pop($path);
      }
code_tokens: public function getParentId ( $ id ) { $ path = $ this -> getProperty ( $ id , self :: PATH ) ; array_pop ( $ path ) ; return empty ( $ path ) ? null // the given item is the root : array_pop ( $ path ) ; }
docstring: Returns the id of the parent layout item
  
  @param string $id The id or alias of the layout item
  
  @return string|null The id of the parent layout item or null if the given item is the root
docstring_tokens: Returns the id of the parent layout item