Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Update libs/NiftyGrid/Grid.php #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update libs/NiftyGrid/Grid.php #31

wants to merge 1 commit into from

Conversation

vanam
Copy link

@vanam vanam commented Dec 2, 2012

Add support for changing paginator template path

Add support for changing paginator template path
@j3nda
Copy link

j3nda commented Mar 27, 2013

hello,

well, this is not necessary, because you can override by:

class Grid extends \NiftyGrid\Grid {
protected function createComponentPaginator() {
return new GridPaginator(DIR.'/templates/paginator.latte');
}
}

and this solution si better in OOP way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants