uawdijnntqw1x1x1
IP : 216.73.216.93
Hostname : panel.codeskitter.com
Kernel : Linux panel.codeskitter.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
Disable Function : apache_child_terminate, apache_note, apache_setenv, define_syslog_variables, dl, link, opcache_get_status, openlog, pcntl_exec, pcntl_fork, pcntl_setpriority, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid
OS : Linux
PATH:
/
home
/
users
/
unlimited
/
www
/
egrocer.codeskitter.site
/
app
/
Models
/
Language.php
/
/
<?php namespace App\Models; use App\Helpers\CommonHelper; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Language extends Model { use HasFactory; protected $hidden = ['created_at','updated_at']; protected $fillable = ['supported_language_id','system_type','json_data','is_default']; protected $appends = ['system_type_name']; public static $systemTypeCustomerApp = 1; public static $systemTypeSellerAndDeliveryBoyApp = 2; public static $systemTypeWebsite = 3; public static $systemTypeAdminPanel = 4; public static function get_system_types(): array { $string = CommonHelper::getColumnComment("languages", "system_type"); $arrays = explode(',',$string); $system_types = array(); foreach ($arrays as $key => $code){ $data = array(); $array = explode('=>',$code); $data['id'] = intval($array[0]); $data['name'] = trim($array[1]); $system_types[$key] = $data; } return $system_types; } public function getSystemTypeNameAttribute(){ $system_types = $this->get_system_types(); $system_type = $this->system_type; $filtered_array = array_filter($system_types, function($element) use ($system_type) { return $element['id'] == $system_type; }); $type_array = reset($filtered_array); return $type_array['name']; } public function getTypeAttribute($value) { return strtoupper($value); } }
/home/users/unlimited/www/egrocer.codeskitter.site/app/Models/Language.php