Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added a section on configuring the helpers
  • Loading branch information
ukkpower committed Jun 12, 2015
1 parent 116f8e4 commit 5158640
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,26 @@ will render this HTML:
</div>
```

### Configuration

You can configure each of the helpers by passing in extra parameters through the AppView.php.

Here is an example of changing the `prev` and `next` labels for the PaginatorHelper.

```php
$this->loadHelper(
'Paginator',
[
'className' => 'BootstrapUI.Paginator',
'labels' => [
'prev' => 'previous',
'next' => 'next',
]
]
);
```


**NOTE: Check tests for more examples.**

## Patches & Features
Expand Down

0 comments on commit 5158640

Please sign in to comment.