예제 #1
0
 /**
  * Declares customized attribute labels.
  * If not declared here, an attribute would have a label that is
  * the same as its name with the first letter in upper case.
  */
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('genderId' => 'Пол'));
 }
예제 #2
0
 /**
  * Declares customized attribute labels.
  * If not declared here, an attribute would have a label that is
  * the same as its name with the first letter in upper case.
  */
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('type' => 'Тип документа', 'gender' => 'Пол', 'birthday' => 'Дата рождения (ДД.ММ.ГГГГ)', 'expirationDate' => 'Дата истечения паспорта (ДД.ММ.ГГГГ)', 'series' => 'Серия', 'seriesNumber' => 'Серия и № документа', 'number' => 'Номер', 'documentTypeId' => 'Документ', 'genderId' => 'Пол', 'countryId' => 'Страна'));
 }
 /**
  * Declares customized attribute labels.
  * If not declared here, an attribute would have a label that is
  * the same as its name with the first letter in upper case.
  */
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('birthday' => 'Дата рождения (ДД.ММ.ГГГГ)'));
 }
예제 #4
0
 /**
  * Declares customized attribute labels.
  * If not declared here, an attribute would have a label that is
  * the same as its name with the first letter in upper case.
  */
 public function attributeLabels()
 {
     return CMap::mergeArray(parent::attributeLabels(), array('number' => 'Номер документа', 'birthday' => 'Дата рождения (ДД.ММ.ГГГГ)', 'documentTypeId' => 'Тип документа', 'genderId' => 'Пол', 'series' => 'Серия документа', 'countryId' => 'Гражданство'));
 }