original_string: public function addCurrentParent($label = null)
      {
          $parent = $this->menu->getCurrentParent();
  
          if ($parent && (! $parent->isTopLevel())) {
              $this->addMenuItem($parent, $label);
          }
          return $this;
      }
code: public function addCurrentParent($label = null)
      {
          $parent = $this->menu->getCurrentParent();
  
          if ($parent && (! $parent->isTopLevel())) {
              $this->addMenuItem($parent, $label);
          }
          return $this;
      }
code_tokens: public function addCurrentParent ( $ label = null ) { $ parent = $ this -> menu -> getCurrentParent ( ) ; if ( $ parent && ( ! $ parent -> isTopLevel ( ) ) ) { $ this -> addMenuItem ( $ parent , $ label ) ; } return $ this ; }
docstring: Adds the parent of the current menu item
  
  Does nothing when the parent is a top level item (has no
  controllor or is the \Gems_menu itself).
  
  @param string $label Optional alternative label
  @return \Gems_Menu_MenuList (continuation pattern)
docstring_tokens: Adds the parent of the current menu item