/home/techb158/ileadtechnology.com/SSM/app/Models/configuration
NameSizeModeActions
academic/-0755rm
asset/-0755rm
calendar/-0755rm
employee/-0755rm
exam/-0755rm
finance/-0755rm
library/-0755rm
misc/-0755rm
post/-0755rm
reception/-0755rm
student/-0755rm
transport/-0755rm
.DS_Store61480644editdlrm
Configuration.php9910644editdlrm
CustomField.php12970644editdlrm
Locale.php10530644editdlrm
Permission.php4650644editdlrm
Role.php5440644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/configuration/CustomField.php (1297B)
'array','values' => 'array']; protected $primaryKey = 'id'; protected $table = 'custom_fields'; public function getOption(string $option) { return array_get($this->options, $option); } public function getValue(string $value) { return array_get($this->values, $value); } public function scopeFilterByForm($q, $form, $s = 0) { if (! $form) { return $q; } return ($s) ? $q->where('form', '=', $form) : $q->where('form', 'like', '%'.$form.'%'); } public function scopeFilterByName($q, $name, $s = 0) { if (! $name) { return $q; } return ($s) ? $q->where('name', '=', $name) : $q->where('name', 'like', '%'.$name.'%'); } public function scopeFilterByType($q, $type, $s = 0) { if (! $type) { return $q; } return ($s) ? $q->where('type', '=', $type) : $q->where('type', 'like', '%'.$type.'%'); } }