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

Update libs/NiftyGrid/Grid.php#31

Open
vanam wants to merge 1 commit intoholubj:masterfrom
vanam:patch-1
Open

Update libs/NiftyGrid/Grid.php#31
vanam wants to merge 1 commit intoholubj:masterfrom
vanam:patch-1

Conversation

@vanam
Copy link
Copy Markdown

@vanam vanam commented Dec 2, 2012

Add support for changing paginator template path

Add support for changing paginator template path
@j3nda
Copy link
Copy Markdown

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