コード例 #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' => 'Страна'));
 }
コード例 #3
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('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' => 'Гражданство'));
 }