/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/Locale.php (1053B)
'array']; protected $primaryKey = 'id'; protected $table = 'locales'; protected static $ignoreChangedAttributes = ['updated_at']; protected static $logFillable = true; protected static $logName = 'locale'; protected static $logOnlyDirty = true; public function getLocaleWithNameAttribute() { return $this->name.' ('.$this->locale.')'; } public function getOption(string $option) { return array_get($this->options, $option); } public function scopeFilterByLocale($q, $locale) { if (! $locale) { return $q; } return $q->where('locale', '=', $locale); } }