Johannes Meyer
|
8643fec309
|
Add class MenuItemContainer
resf #5600
|
2015-09-04 13:54:23 +02:00 |
Johannes Meyer
|
881880f18f
|
SummaryNavigationItemRenderer: Fix method getTitle()
refs #5600
|
2015-09-04 13:48:29 +02:00 |
Johannes Meyer
|
8e24ec978d
|
BadgeNavigationItemRenderer: Use view() instead of getView()
refs #5600
|
2015-09-04 13:47:57 +02:00 |
Johannes Meyer
|
044fe031da
|
NavigationItemRenderer: Add method init()
refs #5600
|
2015-09-04 13:47:38 +02:00 |
Johannes Meyer
|
1a42c04c8e
|
NavigationItem: Fix locating a module's custom navigation renderer
refs #5600
|
2015-09-04 13:47:17 +02:00 |
Johannes Meyer
|
294f9022f2
|
Use the new navigation to render the menu
refs #5600
|
2015-09-04 10:53:01 +02:00 |
Johannes Meyer
|
5ff3db8a3c
|
Url: Explicitly handle '#'
Feels like a quick&dirty solution. Feel free to improve it.
refs #5600
|
2015-09-04 10:34:39 +02:00 |
Johannes Meyer
|
07588595f2
|
NavigationItem: Automatically determine whether it's active or not
refs #5600
|
2015-09-04 10:10:33 +02:00 |
Johannes Meyer
|
baefc89f85
|
NavigationRenderer: Provide a id for outer item markup (<li>)
refs #5600
|
2015-09-04 09:41:39 +02:00 |
Johannes Meyer
|
2855778dc7
|
Revert "NavigationItemRenderer: Provide a id if none is set"
This reverts commit c60839d798 .
|
2015-09-04 09:38:03 +02:00 |
Johannes Meyer
|
975cc92f6b
|
NavigationItem: Provide "#" as default url for items with children
refs #5600
|
2015-09-04 09:31:23 +02:00 |
Johannes Meyer
|
4e948b46bf
|
NavigationRenderer: Add id "navigation" to the navigation's heading
refs #5600
|
2015-09-04 09:26:28 +02:00 |
Johannes Meyer
|
c60839d798
|
NavigationItemRenderer: Provide a id if none is set
refs #5600
|
2015-09-04 09:25:58 +02:00 |
Johannes Meyer
|
a8d5a78aa2
|
NavigationItem: Fix method getUniqueName()
refs #5600
|
2015-09-04 09:25:25 +02:00 |
Johannes Meyer
|
a6b2c23684
|
Update navigation rendering code to fit the previous adjustments
refs #5600
|
2015-09-04 09:08:20 +02:00 |
Johannes Meyer
|
9e558c9861
|
Add class SummaryNavigationItemRenderer
refs #5600
|
2015-09-03 15:53:42 +02:00 |
Johannes Meyer
|
ad6a2938ab
|
Add class BadgeNavigationItemRenderer
refs #5600
|
2015-09-03 15:53:23 +02:00 |
Johannes Meyer
|
b53fb04a0f
|
Move navigation related renderer classes to the new namespace
refs #5600
|
2015-09-03 15:52:37 +02:00 |
Johannes Meyer
|
7adfc58878
|
NavigationItem: Add missing return keyword in method render()
refs #5600
|
2015-09-03 15:04:39 +02:00 |
Johannes Meyer
|
a930ea7f7a
|
Navigation: Add method render()
refs #5600
|
2015-09-03 15:04:07 +02:00 |
Johannes Meyer
|
9a725330fb
|
NavigationItem: Provide the item to the renderer before calling render
refs #5600
|
2015-09-03 14:22:38 +02:00 |
Johannes Meyer
|
16ece09b0a
|
NavigationItemRenderer: Add option $target
refs #5600
|
2015-09-03 13:36:34 +02:00 |
Johannes Meyer
|
67dee62c57
|
NavigationItemRenderer: Add support for options
refs #5600
|
2015-09-03 13:36:13 +02:00 |
Johannes Meyer
|
c3ad665c15
|
Navigation: Fix accessing a non-existent and static variable
refs #5600
|
2015-09-03 12:52:07 +02:00 |
Johannes Meyer
|
c35db55857
|
Navigation: Add missing new keyword
refs #5600
|
2015-09-03 11:26:27 +02:00 |
Johannes Meyer
|
2834e206d5
|
NavigationItem: Add support for custom renderers
refs #5600
|
2015-09-03 11:25:51 +02:00 |
Johannes Meyer
|
811269df01
|
NavigationItem: Rename method getView() to view()
refs #5600
|
2015-09-03 10:39:11 +02:00 |
Johannes Meyer
|
206168672b
|
NavigationItem: Add method getUniqueName()
refs #5600
|
2015-09-03 10:22:47 +02:00 |
Johannes Meyer
|
e6a6ae996a
|
Navigation: Merge other navigations more sophisticated
refs #5600
|
2015-09-03 09:57:52 +02:00 |
Johannes Meyer
|
537db6000e
|
NavigationItem: Add method merge()
refs #5600
|
2015-09-03 09:56:22 +02:00 |
Johannes Meyer
|
a626e8f7fb
|
NavigationItem: Allow to set and get single url parameters
refs #5600
|
2015-09-03 09:56:02 +02:00 |
Johannes Meyer
|
1fb5c96ef1
|
Navigation: Add method order()
refs #5600
|
2015-09-03 08:52:02 +02:00 |
Johannes Meyer
|
00447488ee
|
NavigationItem: Drop interface Countable
$item->count(), count of what?
$item->getChildren()->count(), Its children, of course!
refs #5600
|
2015-09-03 08:49:30 +02:00 |
Johannes Meyer
|
f4a6ab73c0
|
NavigationItem: Add property priority
refs #5600
|
2015-09-03 08:33:13 +02:00 |
Johannes Meyer
|
1393db687b
|
NavigationItem: Adjust some docblocks
refs #5600
|
2015-09-02 15:42:54 +02:00 |
Johannes Meyer
|
298c4ad38b
|
NavigationItem: Cast a string to Url already in setUrl()
refs #5600
|
2015-09-02 15:35:08 +02:00 |
Johannes Meyer
|
1788cc9b6a
|
NavigationItem: Use setView() to initiliaze $view
refs #5600
|
2015-09-02 15:33:45 +02:00 |
Johannes Meyer
|
6802c0a9e4
|
NavigationItem: Do not disable the complete parent hierarchy..
..if just a child gets deactivated.
refs #5600
|
2015-09-02 15:32:37 +02:00 |
Johannes Meyer
|
2bfeb335a5
|
NavigationItem: Add method setParent() and getParent()
refs #5600
|
2015-09-02 15:30:35 +02:00 |
Johannes Meyer
|
e2beb7d027
|
NavigationItem: Return the name if no label is set in getLabel()
refs #5600
|
2015-09-02 15:27:34 +02:00 |
Johannes Meyer
|
1ef4a2f7d0
|
NavigationItem: Do not provide a default for setProperties()
refs #5600
|
2015-09-02 15:26:07 +02:00 |
Johannes Meyer
|
8a29660226
|
NavigationItem: Overwrite the property in method setAttributes()
A setter sets something instead of patching it.
refs #5600
|
2015-09-02 15:25:10 +02:00 |
Johannes Meyer
|
5efcb18fa0
|
NavigationItem: Set the parent on a child in method setChildren()
refs #5600
|
2015-09-02 15:21:40 +02:00 |
Johannes Meyer
|
c9050e2f21
|
NavigationItem: Initialize $children before setting the properties
refs #5600
|
2015-09-02 15:20:26 +02:00 |
Johannes Meyer
|
62f7a49a45
|
NavigationItem: Reduce code complexity in method addChild()
refs #5600
|
2015-09-02 15:17:26 +02:00 |
Johannes Meyer
|
c03109c4c6
|
NavigationItem: Catch exceptions thrown in __toString()
refs #5600
|
2015-09-02 15:16:05 +02:00 |
Johannes Meyer
|
95a3f1c011
|
Navigation: Clear the parent name from a configured navigation item
refs #5600
|
2015-09-02 15:14:55 +02:00 |
Johannes Meyer
|
29413360d9
|
Navigation: Add method merge()
refs #5600
|
2015-09-02 13:34:56 +02:00 |
Johannes Meyer
|
a4c2081f64
|
Navigation: Remove method hasItems()
Redundant, as it's expressible with "! $nav->isEmpty()".
refs #5600
|
2015-09-02 13:29:07 +02:00 |
Johannes Meyer
|
f449c78dbf
|
NavigationItem: Make it having a name instead of a id..
..and require it as first argument on construction time.
refs #5600
|
2015-09-02 13:27:12 +02:00 |