original_string: public function getBestTarget()
      {
          if ($this->hasParent() && ($this->target == '' || $this->target == '#')) {
              return $this->parent->getBestTarget();
          }
          
          return $this->target;
      }
code: public function getBestTarget()
      {
          if ($this->hasParent() && ($this->target == '' || $this->target == '#')) {
              return $this->parent->getBestTarget();
          }
          
          return $this->target;
      }
code_tokens: public function getBestTarget ( ) { if ( $ this -> hasParent ( ) && ( $ this -> target == '' || $ this -> target == '#' ) ) { return $ this -> parent -> getBestTarget ( ) ; } return $ this -> target ; }
docstring: Returns the best available target, if the menu entry has no target the
  target of the parent object will be returned.
  
  @return string
docstring_tokens: Returns the best available target if the menu entry has no target the target of the parent object will be returned .