2017 © Pedro Peláez
 

library yii-forms

Extensions to Yii's form objects to help with view rendering.

image

mynameiszanders/yii-forms

Extensions to Yii's form objects to help with view rendering.

  • Sunday, December 15, 2013
  • by zanderbaldwin
  • Repository
  • 0 Watchers
  • 0 Stars
  • 6 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii Forms

Version: 2.0.1, (*1)

A collection of component classes for Yii forms to provide cross-theme rendering of form inputs, without having to know the types of inputs that were defined in form configuration files. Since version 2.0.0 this repository is a Composer library package installable via Packagist. Simply add it as a dependancy of your projects with composer require mynameiszanders/yii-forms:2.* or add the following to your composer.json configuration file:, (*2)

"require": {
    "mynameiszanders/yii-forms": "2.*"
},

To use, simply use application\components\Form rather than CForm when creating an instance of the form builder. You might also want to read the dummies guide for building forms with the new classes. It's not great, and that's because I hate writing documentation (source comments, baby!) and managed to knock this out in 4 hours., (*3)

If you want to rename application\components\ActiveForm, make sure to update the reference in application\components\Form::activeForm., (*4)

Changes

It adds the methods:, (*5)

  • application\components\ActiveForm::input()
  • application\components\ActiveForm::button()
  • application\components\ActiveForm::hint()

And extends the methods:, (*6)

The Versions

15/12 2013

dev-develop

dev-develop https://github.com/mynameiszanders/yii-forms

Extensions to Yii's form objects to help with view rendering.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

form helper yii render element

15/12 2013

dev-master

9999999-dev https://github.com/mynameiszanders/yii-forms

Extensions to Yii's form objects to help with view rendering.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

form helper yii render element

15/12 2013

2.0.1

2.0.1.0 https://github.com/mynameiszanders/yii-forms

Extensions to Yii's form objects to help with view rendering.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

form helper yii render element

15/12 2013

2.0.0

2.0.0.0 https://github.com/mynameiszanders/yii-forms

Extensions to Yii's form objects to help with view rendering.

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

form helper yii render element