コード例 #1
0
ファイル: PatientFilter.php プロジェクト: vovancho/yii2test
 public static function VariablesValues($attribute, $value = NULL)
 {
     $values = ['patient_pol' => Patient::VariablesValues($attribute), 'fias_city' => [$value => Fias::GetCityByAOGUID($value)], 'fias_street' => [$value => Fias::GetStreetByAOGUID($value)], 'glaukuchet_detect' => Glaukuchet::VariablesValues($attribute), 'glaukuchet_deregreason' => Glaukuchet::VariablesValues($attribute), 'glaukuchet_stage' => Glaukuchet::VariablesValues($attribute), 'glaukuchet_invalid' => Glaukuchet::VariablesValues($attribute), 'glaukuchet_id_employee' => [$value => Employee::getEmployeeByID($value)], 'employee_id_person' => [$value => Authuser::getAuthuserByID($value)], 'employee_id_dolzh' => [$value => Dolzh::getDolzhByID($value)], 'employee_id_podraz' => [$value => Podraz::getPodrazByID($value)], 'employee_id_build' => [$value => Build::getBuildByID($value)], 'glprep_id_preparat' => [$value => Preparat::getPreparatByID($value)], 'glprep_rlocat' => Glprep::VariablesValues($attribute)];
     return isset($values[$attribute]) ? $values[$attribute] : NULL;
 }
コード例 #2
0
ファイル: MaterialFilter.php プロジェクト: vovancho/yii2test
 public static function VariablesValues($attribute, $value = NULL)
 {
     $values = ['mol_id_build' => [$value => Build::getBuildByID($value)], 'mol_fullname_material' => [$value => Authuser::getAuthuserByID($value)], 'material_writeoff' => Material::VariablesValues($attribute), 'mat_id_grupa' => [$value => Grupa::getGrupaByID($value)]];
     return isset($values[$attribute]) ? $values[$attribute] : NULL;
 }
コード例 #3
0
 public static function VariablesValues($attribute, $value = NULL)
 {
     $values = ['mat_id_material' => [$value => Material::getMaterialByID($value)], 'mol_id_person' => [$value => Authuser::getAuthuserByID($value)], 'mat_id_material_mat' => [$value => Material::getMaterialByID($value)], 'mol_id_person_mat' => [$value => Authuser::getAuthuserByID($value)], 'recoveryrecieveakt_repaired' => Recoveryrecieveakt::VariablesValues($attribute)];
     return isset($values[$attribute]) ? $values[$attribute] : NULL;
 }