InfiniteFormBundle

A collection of useful form types and extensions for Symfony2.

  • 所有者: infinite-networks/InfiniteFormBundle
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

InfiniteFormBundle

A collection of useful form types and extensions for Symfony.

See the form demo project
for working examples.

Installation

Installation instructions can be found here.

PolyCollection

The PolyCollection form type allows you to create a collection type
on a property where the relationship is to a polymorphic object structure
like Doctrine2's Single or Multi table inheritance.

For example, if you had an Invoice entity that had a relationship to an
entity that was using Doctrine inheritance InvoiceLine and you wanted
to define multiple InvoiceLine types depending on what you wanted to invoice
like InvoiceProductLine, InvoiceShippingLine and InvoiceDiscountLine
you could use this form type to achieve a form collection that would support
all 4 types of InvoiceLine inside the same collection.

For more information see the PolyCollection Documentation.

Collection Helper

InfiniteFormBundle supplies some helper javascript for working with form collections. It
supports both the standard Symfony2 collection type and the PolyCollection type supplied
by this bundle.

For more information see the Collection Helper Documentation.

CheckboxGrid

The CheckboxGrid form type allows editing many-to-many relationships with
a grid of checkboxes. It has handy shortcuts for Doctrine entities but can
also be used with arrays of regular objects.

For example, a company might sell multiple products, and operate in
different areas. Any of its salesmen could sell any combination of products
in areas. The salesman form needs a table of checkboxes where the rows are
products and the columns are areas (or vice versa!)

For more information see the CheckboxGrid Documentation.

EntitySearch

EntitySearchType is an alternative to Symfony's built-in EntityType. Instead of
loading all entities into a drop-down list, it renders a single text field that
loads autocomplete suggestions through an AJAX callback.

AJAX callback not included.

For more information see the EntitySearch Documentation.

Attachment

AttachmentType is an alternative to Symfony's built-in FileType.

For more information see the Attachment Documentation.

Twig Helper

InfiniteFormBundle comes with a Twig extension that adds form specific helpers
for use when rendering templates.

For more information see the Twig Helper.

主要指標

概覽
名稱與所有者infinite-networks/InfiniteFormBundle
主編程語言PHP
編程語言PHP (語言數: 3)
平台
許可證
所有者活动
創建於2013-03-15 05:17:31
推送於2025-03-24 00:55:19
最后一次提交2025-03-24 11:54:44
發布數32
最新版本名稱3.5.3 (發布於 )
第一版名稱1.0.0-alpha1 (發布於 )
用户参与
星數170
關注者數14
派生數38
提交數196
已啟用問題?
問題數30
打開的問題數8
拉請求數37
打開的拉請求數4
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?