Exemple #1
0
 public function getLinkDownloadAttribute()
 {
     $hashids = new Hashids($this->hashids_salt);
     $id = $hashids->encode($this->id);
     return kelas_url('course/download/' . $id);
 }
Exemple #2
0
 function virtualclass_url($uri = '')
 {
     return kelas_url($uri);
 }
Exemple #3
0
 public function getLinkJoinAttribute()
 {
     return kelas_url('course/join/' . $this->slug);
 }