????
Current Path : /home/thenclexdoctor.com/public_html/app/Models/ |
Current File : /home/thenclexdoctor.com/public_html/app/Models/FeatureWebinar.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Astrotomic\Translatable\Contracts\Translatable as TranslatableContract; use Astrotomic\Translatable\Translatable; class FeatureWebinar extends Model implements TranslatableContract { use Translatable; protected $dateFormat = 'U'; public $timestamps = false; protected $guarded = ['id']; protected $table = 'feature_webinars'; static $pages = ['categories', 'home', 'home_categories']; public $translatedAttributes = ['description']; public function getDescriptionAttribute() { return getTranslateAttributeValue($this, 'description'); } public function webinar() { return $this->belongsTo('App\Models\Webinar', 'webinar_id', 'id'); } }
Sorry, this page is not available...