Example #1
0
 public function getCar_nombre()
 {
     return ($model = Cargo::findByPk($this->car_id)) ? $model->car_nombre : "SIN CARGO";
 }