CMS  Version 3.9
download.inc File Reference

Go to the source code of this file.

Variables

 $video_id = checkNumeric($_GET["video_id"])
 
 $video = new Video($video_id)
 
 $gallery = $video->VideoGallery()
 
 $videoDownload = new VideoDownload()
 
$videoDownload video_id = $video_id
 
$videoDownload user_id = ($user) ? $user->user_id : 0
 
 $filepath = sanitizePath($gallery->getGalleryDirectory() . DIRECTORY_SEPARATOR . $video->video_file)
 

Variable Documentation

◆ $filepath

$filepath = sanitizePath($gallery->getGalleryDirectory() . DIRECTORY_SEPARATOR . $video->video_file)

Definition at line 54 of file download.inc.

◆ $gallery

$gallery = $video->VideoGallery()

Definition at line 40 of file download.inc.

◆ $video

$video = new Video($video_id)

Definition at line 38 of file download.inc.

◆ $video_id

$video_id = checkNumeric($_GET["video_id"])

Definition at line 36 of file download.inc.

◆ $videoDownload

$videoDownload = new VideoDownload()

Definition at line 47 of file download.inc.

◆ user_id

$videoDownload user_id = ($user) ? $user->user_id : 0

Definition at line 49 of file download.inc.

◆ video_id

$videoDownload video_id = $video_id

Definition at line 48 of file download.inc.