Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (9) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 34 | All time: 10,961 This week: 455 |
Version | License | PHP version | Categories | |||
easyformbundle 1.0 | The PHP License | 5 | HTML, PHP 5, Libraries |
Description | Author | |
This package can add custom form inputs for Symfony 2 form builder. |
A Symfony2 Bundle provide some extra form type.
Add EasyFormBundle in your composer.json:
{
"require": {
"xiidea/easy-form-bundle": "dev-master"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update xiidea/easy-form-bundle
Composer will install the bundle to your project's vendor/xiidea
directory.
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Xiidea\EasyFormBundle\XiideaEasyFormBundle(),
);
}
Now you can use the registered types in ordinary way. currently available types are:
hidden_entity
you can add a "hidden_entity" field to the form as follow:
$builder
->add('fieldName', 'hidden_entity', array(
'class' => 'Acme\DemoBundle\Entity\YourEntity'
));
Files |
File | Role | Description | ||
---|---|---|---|---|
DependencyInjection (2 files) | ||||
Form (2 directories) | ||||
Resources (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Read me | ||
XiideaEasyFormBundle.php | Class | Class source |
Files | / | DependencyInjection |
File | Role | Description |
---|---|---|
Configuration.php | Class | Class source |
XiideaEasyFormExtension.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.