/home/techb158/ileadtechnology.com/app
Edit: /home/techb158/ileadtechnology.com/app/CourseChapter.php (1057B)
getTranslatableAttributes() as $name) {
$attributes[$name] = $this->getTranslation($name, app()->getLocale());
}
return $attributes;
}
protected $table = 'course_chapters';
protected $fillable = [ 'course_id', 'chapter_name', 'short_number', 'status', 'file', 'user_id', 'position' ];
public function courseclass()
{
return $this->hasMany('App\CourseClass','coursechapter_id');
}
public function courses()
{
return $this->belongsTo('App\Course','course_id','id');
}
public function user()
{
return $this->belongsTo('App\user','user_id','id');
}
}