Skip to content

Update libs/NiftyGrid/Grid.php #31

Open
wants to merge 1 commit into from

2 participants

@vanam
vanam commented Dec 2, 2012

Add support for changing paginator template path

@vanam vanam Update libs/NiftyGrid/Grid.php
Add support for changing paginator template path
1d792d2
@j3nda
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 join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.