New static data
This commit is contained in:
@@ -433,4 +433,17 @@ abstract class BaseController extends Controller
|
||||
curl_close($curl);
|
||||
return json_decode($result, true);
|
||||
}
|
||||
|
||||
public function familyTypes(){
|
||||
return [
|
||||
array("ty"=>"Parent", "id"=>"PARENT", "tag"=>"fam_type_parent"),
|
||||
array("ty"=>"Relatives", "id"=>"RELATIVES", "tag"=>"fam_type_relatives"),
|
||||
array("ty"=>"Others", "id"=>"Others", "tag"=>"fam_type_others")
|
||||
];
|
||||
}
|
||||
public function historyTypes(){
|
||||
return [
|
||||
array("ty"=>"Completed Jobs", "id"=>"COMPLETED_JOBS", "tag"=>"hist_type_completed_jobs"),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user