2.0.x-dev
2.0.9999999.9999999-devSymfony ShtumiUsefulBundle
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle 2.0.*
by Mikhail Shtukin
ajax autocomplete form type dependent filtered form type daterange shtumi
Symfony ShtumiUsefulBundle
SladUsefulBundle provides some useful things that needed almost in every project. It's:, (*1)
Form types:, (*2)
Ajax Autocomplete form type (useful when you operate with thousands and hundred thousands records [for instance: users]), (*3)
Dependent filtered form type (useful when you need operate dependent entities in one form (for instance: countries/regions)), (*4)
Date range form type (allows you select date range with JS calendar and take valid DateRange object), (*5)
DQL extra functions:, (*6)
IF, (*7)
IFNULL, (*8)
ROUND, (*9)
DATE_DIFF, (*10)
You can use Ajax autocomplete form type as a filter type with SonataAdminBundle, (*11)
composer.json
file and then run php app/console update
:"slad/useful-bundle": "1.0"
You also should install SonataAdminBundle and all dependencies for it., (*12)
// app/AppKernel.php public function registerBundles() { return array( // ... new Slad\UsefulBundle\SladUsefulBundle(), // ... ); }
// app/config/routing.yml, (*13)
slad_useful: resource: '@SladUsefulBundle/Resources/config/routing.xml'
twig: ... form: resources: - SladUsefulBundle::fields.html.twig
Update your configuration in accordance with using SladUsefulBundle things, (*14)
<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>
Symfony ShtumiUsefulBundle
MIT
ajax autocomplete form type dependent filtered form type daterange shtumi