Browse Source

Merge pull request #1596 from futbolim/patch-1

Update ActiveField.php
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
604d667180
  1. 4
      framework/yii/widgets/ActiveField.php

4
framework/yii/widgets/ActiveField.php

@ -112,8 +112,8 @@ class ActiveField extends Component
/** /**
* @var array different parts of the field (e.g. input, label). This will be used together with * @var array different parts of the field (e.g. input, label). This will be used together with
* [[template]] to generate the final field HTML code. The keys are the token names in [[template]], * [[template]] to generate the final field HTML code. The keys are the token names in [[template]],
* while the values are the corresponding HTML code. Valid tokens include `{input}`, `{label}`, * while the values are the corresponding HTML code. Valid tokens include `{input}`, `{label}` and `{error}`.
* `{error}`, and `{error}`. Note that you normally don't need to access this property directly as * Note that you normally don't need to access this property directly as
* it is maintained by various methods of this class. * it is maintained by various methods of this class.
*/ */
public $parts = []; public $parts = [];

Loading…
Cancel
Save