mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-04 22:57:40 +08:00
added missing @since annotations
This commit is contained in:
@ -82,6 +82,7 @@ interface ManagerInterface extends CheckAccessInterface
|
|||||||
* @return Role[] all roles directly adding to the role. The array is indexed by the role names.
|
* @return Role[] all roles directly adding to the role. The array is indexed by the role names.
|
||||||
* First element is a Role item that are getting by $roleName.
|
* First element is a Role item that are getting by $roleName.
|
||||||
* @throws \yii\base\InvalidParamException if Role was not found that are getting by $roleName
|
* @throws \yii\base\InvalidParamException if Role was not found that are getting by $roleName
|
||||||
|
* @since 2.0.10
|
||||||
*/
|
*/
|
||||||
public function getChildRoles($roleName);
|
public function getChildRoles($roleName);
|
||||||
|
|
||||||
|
|||||||
@ -92,6 +92,9 @@ class DetailView extends Widget
|
|||||||
*
|
*
|
||||||
* where `$attribute` refer to the specification of the attribute being rendered, `$index` is the zero-based
|
* where `$attribute` refer to the specification of the attribute being rendered, `$index` is the zero-based
|
||||||
* index of the attribute in the [[attributes]] array, and `$widget` refers to this widget instance.
|
* index of the attribute in the [[attributes]] array, and `$widget` refers to this widget instance.
|
||||||
|
*
|
||||||
|
* Since Version 2.0.10, the tokens `{captionOptions}` and `{contentOptions}` are available, which will represent
|
||||||
|
* HTML attributes of HTML container elements for the label and value.
|
||||||
*/
|
*/
|
||||||
public $template = '<tr><th{captionOptions}>{label}</th><td{contentOptions}>{value}</td></tr>';
|
public $template = '<tr><th{captionOptions}>{label}</th><td{contentOptions}>{value}</td></tr>';
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user