Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Commit 35aa9ba

Browse files
committed
Update readme
1 parent 310c8ac commit 35aa9ba

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,17 @@ CodeIgniter-Breadcrumb is a library that helps your build HTML breadcrumbs with
55

66
## Requirements
77

8-
1. PHP 5.1+
9-
2. CodeIgniter 1.6.x - 2.0-dev
8+
* CodeIgniter 2.0.x
9+
10+
11+
## Example
12+
13+
// load libary
14+
$this->load->library('breadcrumb');
15+
16+
// add breadcrumbs
17+
$this->breadcrumb->appendCrumb('Home', '/');
18+
$this->breadcrumb->appendCrumb('Page', '/page');
19+
20+
// put this line in view to output
21+
$this->breadcrumb->output();

0 commit comments

Comments
 (0)