Releases for sf 1.4
| Version |
License |
API |
Released |
|
0.9.9beta
|
LGPL |
0.9.9beta
|
23/06/2010 |
|
0.9.1beta
|
LGPL |
0.9.1beta
|
29/07/2008 |
|
0.9.0beta
|
LGPL |
0.9.0beta
|
23/06/2008 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
0.9.9beta
|
LGPL |
0.9.9beta
|
23/06/2010 |
|
0.9.1beta
|
LGPL |
0.9.1beta
|
29/07/2008 |
|
0.9.0beta
|
LGPL |
0.9.0beta
|
23/06/2008 |
Releases for sf 1.2
| Version |
License |
API |
Released |
|
0.9.9beta
|
LGPL |
0.9.9beta
|
23/06/2010 |
|
0.9.6beta
|
LGPL |
0.9.6beta
|
25/05/2009 |
|
0.9.5beta
|
LGPL |
0.9.5beta
|
19/05/2009 |
|
0.9.3beta
|
LGPL |
0.9.3beta
|
02/02/2009 |
|
0.9.1beta
|
LGPL |
0.9.1beta
|
29/07/2008 |
|
0.9.0beta
|
LGPL |
0.9.0beta
|
23/06/2008 |
Releases for sf 1.1
| Version |
License |
API |
Released |
|
0.9.9beta
|
LGPL |
0.9.9beta
|
23/06/2010 |
|
0.9.6beta
|
LGPL |
0.9.6beta
|
25/05/2009 |
|
0.9.5beta
|
LGPL |
0.9.5beta
|
19/05/2009 |
|
0.9.3beta
|
LGPL |
0.9.3beta
|
02/02/2009 |
|
0.9.1beta
|
LGPL |
0.9.1beta
|
29/07/2008 |
|
0.9.0beta
|
LGPL |
0.9.0beta
|
23/06/2008 |
Releases for sf 1.0
| Version |
License |
API |
Released |
|
0.9.1beta
|
LGPL |
0.9.1beta
|
29/07/2008 |
|
0.9.0beta
|
LGPL |
0.9.0beta
|
23/06/2008 |
Changelog for release 0.9.3 - 02/02/2009
Other releases
Release 0.9.9 - 23/06/2010
Added support for escaping strategy
Added options for root item in component
Release 0.9.6 - 25/05/2009
Fixed README (thanks to Ben Lumley)
Release 0.9.5 - 19/05/2009
Fixed package.xml
Updated README to markdown
Release 0.9.3 - 02/02/2009
Release 0.9.1 - 29/07/2008
Added action caching support.
Release 0.9.0 - 23/06/2008
isicsBreadcrumbsPlugin plugin
The isicsBreadcrumbsPlugin is a simple way to handle breadcrumbs in your applications.
isicsBreadcrumbsPlugin is working on Symfony 1.1 or greater.
At a glance
- A singleton who manages breadcrumbsItems. By default, a root item is present (text: Home, uri: @homepage)
- A component who display the breadcrumbs
License
The isicsBreadcrumbsPlugin is licensed under the GNU Lesser General Public License (LGPL).
Installation
Install the plugin:
$ symfony plugin-install http://plugins.symfony-project.com/isicsBreadcrumbsPlugin
$ symfony cc
Enable the module isicsBreadcrumbs in settings.yml:
all:
.settings:
enabled_modules: isicsBreadcrumbsPlugin
Usage
Define the path in your templates:
<?php breadcrumbs->addItem('My action', 'myModule/myAction') ?>
=> Home > My action
If the action is deeper:
<?php breadcrumbs->addItem('My previous action', 'myModule/myPreviousAction') ?>
<?php breadcrumbs->addItem('My action', 'myModule/myAction') ?>
=> Home > My previous action > My action
Define the path in your actions:
public function executeMyAction()
{
isicsBreadcrumbs::getInstance()->addItem('My action', 'myModule/myAction');
=> Home > My action
Include the breadcrumbs component (in the layout for instance):
You are here :
You can set your own root:
You are here :
array('text' => 'Home', 'uri' => '@myHomepage'))) ?>
API
void addItem(String $test, String $uri): add an item at the end of the breadcrumbs
void clearItems(): erase all items
isicsBreadcrumbs getInstance(): retrieve the singleton instance
array getItems(): return an array of isicsBreadcrumbsItem
void setRoot(String $test, String $uri): set root item. By default, a root item is already present (text: Home, uri: @homepage).
Changelog
2009-02-02 | 0.9.2 beta
- Added
breadcrumbs template shorcut (break compatibility with sf 1.0).
- Added output escaping support.
- Removed I18N support (hasn't to be handled here).
2008-07-29 | 0.9.1 beta
- Added action caching support.
2008-06-23 | 0.9.0 beta