Definition at line 90 of file video_gallery_view.inc.
◆ collateVideos()
VideoGalleryList::collateVideos |
( |
| ) |
|
Definition at line 107 of file video_gallery_view.inc.
109 $this->videos = array();
111 if (count($this->galleries) == 0)
return;
113 $ids = formatItems($this->galleries,
"{gallery_id}",
", ");
114 $groupedVideos = GroupedQuery::create(
Video,
"WHERE gallery_id IN (".
$ids .
") AND published=1",
"gallery_id")
◆ drawGallery()
VideoGalleryList::drawGallery |
( |
| ) |
|
Definition at line 125 of file video_gallery_view.inc.
127 if (count($this->videos) == 0)
129 echo
"<p>No videos have been published on this site.</p>";
133 $this->galleryView->drawGallery();
◆ drawList()
VideoGalleryList::drawList |
( |
| ) |
|
Definition at line 136 of file video_gallery_view.inc.
138 if (count($this->videos) == 0)
140 echo
"<p>No videos have been published on this site.</p>";
144 $this->galleryView->listView->drawGrid();
◆ VideoGalleryList()
VideoGalleryList::VideoGalleryList |
( |
|
$galleries, |
|
|
|
$linkFormat, |
|
|
|
$id = "galleries" |
|
) |
| |
Definition at line 97 of file video_gallery_view.inc.
104 $this->galleryView->listView->titleFormat =
"{Gallery.gallery_name}";
◆ $galleries
VideoGalleryList::$galleries |
◆ $galleryView
VideoGalleryList::$galleryView |
◆ $id
◆ $linkFormat
VideoGalleryList::$linkFormat |
The documentation for this class was generated from the following file: