public function attributeLabels() { return CMap::mergeArray(parent::attributeLabels(), array('password_c' => t('Повторите пароль'), 'remember_me' => t('Запомнить меня'))); }
public function attributeLabels() { $labels = parent::attributeLabels(); $labels['roles'] = 'Отображается для групп пользователей'; $labels['date_active'] = 'Активировать по заданной дате'; return $labels; }
/** * @return array customized attribute labels (name=>label) */ public function attributeLabels() { $this->_attrLabels = array('name' => Yii::t('ShopModule.core', 'Название'), 'full_path' => Yii::t('ShopModule.core', 'Полный путь'), 'description' => Yii::t('ShopModule.core', 'Описание'), 'image' => Yii::t('ShopModule.core', 'Изображение')); return CMap::mergeArray($this->_attrLabels, parent::attributeLabels()); }
/** * @return array customized attribute labels (name=>label) */ public function attributeLabels() { $this->_attrLabels = array('id' => 'ID', 'order_id' => 'Order', 'user_id' => 'User', 'username' => 'Username', 'handler' => 'Handler', 'data_before' => 'Data Before', 'data_after' => 'Data After'); return CMap::mergeArray($this->_attrLabels, parent::attributeLabels()); }
public function attributeLabels() { return CMap::mergeArray(array('manufacturers' => Yii::t('DiscountsModule.ShopDiscount', 'MANUFACTURERS'), 'userRoles' => Yii::t('DiscountsModule.ShopDiscount', 'USER_ROLES')), parent::attributeLabels()); }
public function attributeLabels() { return CMap::mergeArray(parent::attributeLabels(), array('sections_ids' => t('Разделы'), 'tags' => t('Теги'), 'sports_ids' => t('Вид спорта'))); }
/** * @return array customized attribute labels (name=>label) */ public function attributeLabels() { $this->_attrLabels = array(); return CMap::mergeArray($this->_attrLabels, parent::attributeLabels()); }
public function attributeLabels() { return array_merge(parent::attributeLabels(), array( "password_c" => "Пароль еще раз", "remember_me" => "Запомни меня", "role" => "Роль" )); }
/** * @return array customized attribute labels (name=>label) */ public function attributeLabels() { $this->_attrLabels = array('id' => 'ID', 'name' => Yii::t('CartModule.core', 'Название'), 'sum' => Yii::t('CartModule.core', 'Скидка')); return CMap::mergeArray($this->_attrLabels, parent::attributeLabels()); }
public function attributeLabels() { return CMap::mergeArray(parent::attributeLabels(), ['roles' => 'Группы пользователей', 'url_info' => 'Куда будет вести этот пункт меню']); }
public function attributeLabels() { return CMap::mergeArray(parent::attributeLabels(), array('body' => 'Содержание письма')); }