original_string: public function addPage($label, $privilege, $controller, $action = 'index', array $other = array())
      {
          $other['label'] = $label;
          $other['controller'] = $controller;
          $other['action'] = $action;
  
          if ($privilege) {
              $other['privilege'] = $privilege;
          }
  
          return $this->add($other);
      }
code: public function addPage($label, $privilege, $controller, $action = 'index', array $other = array())
      {
          $other['label'] = $label;
          $other['controller'] = $controller;
          $other['action'] = $action;
  
          if ($privilege) {
              $other['privilege'] = $privilege;
          }
  
          return $this->add($other);
      }
code_tokens: public function addPage ( $ label , $ privilege , $ controller , $ action = 'index' , array $ other = array ( ) ) { $ other [ 'label' ] = $ label ; $ other [ 'controller' ] = $ controller ; $ other [ 'action' ] = $ action ; if ( $ privilege ) { $ other [ 'privilege' ] = $ privilege ; } return $ this -> add ( $ other ) ; }
docstring: Add a page to the menu
  
  @param string $label         The label to display for the menu item, null for access without display
  @param string $privilege     The privilege for the item, null is always, 'pr.islogin' must be logged in, 'pr.nologin' only when not logged in.
  @param string $controller    What controller to use
  @param string $action        The name of the action
  @param array  $other         Array of extra options for this item, e.g. 'visible', 'allowed', 'class', 'icon', 'target', 'type', 'button_only'
  @return \Gems_Menu_SubMenuItem
docstring_tokens: Add a page to the menu