[Tickets #11731] Horde_Menu: different behavior of function add() and addArray()

bugs at horde.org bugs at horde.org
Tue Nov 20 15:36:49 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11731
------------------------------------------------------------------------------
  Ticket           | 11731
  Erstellt Von     | heinz at htl-steyr.ac.at
  Zusammenfassung  | Horde_Menu: different behavior of function add() and
                   | addArray()
  Warteschlange    | Horde Framework Packages
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


heinz at htl-steyr.ac.at (2012-11-20 15:36) hat geschrieben:

Hi
If parameter class is omitted, functions add() and addArray() defaults  
to different values:
add() defaults to: $class = null
addArray() defaults to: 'class' => ''

This causes different behavior of the to functions if I use them to  
add menu entries in the sidebar menu of my own application (class  
omitted).

Using addArray sets class to '' and the current selected menuentry  
isn't highlighted in this case.

This peculiarity should be corrected or documented better!

Heinz






More information about the bugs mailing list