[news] Yii HTML 2.5.0


Yii HTML package version 2.5.0 was released.
Added new methods for set concrete enctype value for the Form tag:

  • Form::enctypeApplicationXWwwFormUrlencoded(),
  • Form::enctypeMultipartFormData(),
  • Form::enctypeTextPlain().

Added new methods for add attributes:

  • Tag::addClass(),
  • Tag::addAttributes(),
  • ButtonGroup::addButtonAttributes(),
  • RadioList::addRadioAttributes(),
  • RadioList::addIndividualInputAttributes(),
  • CheckboxList::addCheckboxAttributes(),
  • CheckboxList::addIndividualInputAttributes(),
  • File::addUncheckInputAttributes(),
  • Range::addOutputAttributes().

Current methods for add attributes marked as depricated:

  • Tag::class(),
  • Tag::attributes(),
  • ButtonGroup::buttonAttributes(),
  • RadioList::radioAttributes(),
  • RadioList::individualInputAttributes(),
  • CheckboxList::checkboxAttributes(),
  • CheckboxList::individualInputAttributes(),
  • File::uncheckInputAttributes(),
  • Range::outputAttributes().