コード例 #1
0
ファイル: Attachment.php プロジェクト: amteknologi/elearning
 public function getLinkDownloadAttribute()
 {
     $hashids = new Hashids($this->hashids_salt);
     $id = $hashids->encode($this->id);
     return kelas_url('course/download/' . $id);
 }
コード例 #2
0
ファイル: url_helper.php プロジェクト: ruly1992/elearning
 function virtualclass_url($uri = '')
 {
     return kelas_url($uri);
 }
コード例 #3
0
ファイル: Course.php プロジェクト: fajarekos/elearning
 public function getLinkJoinAttribute()
 {
     return kelas_url('course/join/' . $this->slug);
 }