Comments (3)
π
If you log this onto my fork, I can take a look at how feasible this might be. The Pagerfanta\View\ViewInterface
only cares that the render()
method returns a string, so in theory it's possible to create a TwigView
implementation that ignores the PHP Pagerfanta\View\Template\TemplateInterface
objects and just renders a given Twig template (which, would probably be structured like a overly simplified version of Symfony's form themes that way one could use Twig's native template inheritance and customize different blocks).
from whiteoctoberpagerfantabundle.
Yep, I've looked at ViewInterface
and TemplateInterface
as well and my conclusion was pretty much the same. I'm actually surprised noone has done this yet. Makes me suspect that perhaps overall speed is affected or something.
from whiteoctoberpagerfantabundle.
Closing as fixed by BabDev#2.
from whiteoctoberpagerfantabundle.
Related Issues (20)
- PHP 5.3 builds are failing (and are running with outdated distro config) HOT 1
- Error with MySQL5.7 HOT 2
- Remove tests from autoloading HOT 10
- Pagination inside an embedded Controller HOT 4
- Call from PHP templates? HOT 2
- Incorrect translate "previous" HOT 4
- Pagerfanta 2.x is now PHP 7, upgrade this project to match
- Not working with Symfony 4.1 beta 2 HOT 2
- Not added to bundles.php in Symfony 4 - getting Unknown βpagerfantaβ function HOT 1
- Create a recipe so that the bundle can be automatically set up by Symfony Flex HOT 4
- Unknown "pagerfanta" function. in symfony 4.1 HOT 3
- How to paginate list with form elements? HOT 1
- Pagerfanta ArrayAdapter ; add text in view HOT 4
- Romanian translation does not work
- Looking for maintainers HOT 7
- Allowed memory size
- Less results than expected on each page
- Archive repo HOT 8
- Symfony 5 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whiteoctoberpagerfantabundle.