Esempio n. 1
0
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('password_c' => t('Повторите пароль'), 'remember_me' => t('Запомнить меня')));
 }
Esempio n. 2
0
 public function attributeLabels()
 {
     $labels = parent::attributeLabels();
     $labels['roles'] = 'Отображается для групп пользователей';
     $labels['date_active'] = 'Активировать по заданной дате';
     return $labels;
 }
Esempio n. 3
0
 /**
  * @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());
 }
Esempio n. 4
0
 /**
  * @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());
 }
Esempio n. 5
0
 public function attributeLabels()
 {
     return CMap::mergeArray(array('manufacturers' => Yii::t('DiscountsModule.ShopDiscount', 'MANUFACTURERS'), 'userRoles' => Yii::t('DiscountsModule.ShopDiscount', 'USER_ROLES')), parent::attributeLabels());
 }
Esempio n. 6
0
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('sections_ids' => t('Разделы'), 'tags' => t('Теги'), 'sports_ids' => t('Вид спорта')));
 }
Esempio n. 7
0
 /**
  * @return array customized attribute labels (name=>label)
  */
 public function attributeLabels()
 {
     $this->_attrLabels = array();
     return CMap::mergeArray($this->_attrLabels, parent::attributeLabels());
 }
Esempio n. 8
0
 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());
 }
Esempio n. 10
0
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), ['roles' => 'Группы пользователей', 'url_info' => 'Куда будет вести этот пункт меню']);
 }
Esempio n. 11
0
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('body' => 'Содержание письма'));
 }