Example #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOwner()
 {
     return $this->hasOne(Owner::className(), ['record_id' => 'id']);
 }
Example #2
0
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ArrayHelper::merge(parent::attributeLabels(), ['address_1' => 'Address Line 1', 'address_2' => 'Address Line 2', 'state_id' => 'State', 'license' => 'Tag', 'vehicle_id' => 'Vehicle model', 'vehicle_color_id' => 'Vehicle Color', 'created_at' => 'Created', 'fullName' => 'Full name', 'stateName' => 'State', 'vehicleName' => 'Vehicle']);
 }