Function __global->render_gallery_box

Definitions

sources/galleries.php

  • Get preview detailing for a gallery.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: object

Parameters

Name Type Default Set Range Description
$myrow array required parameter N/A N/A The database row of the gallery
$root ID_TEXT root N/A N/A The virtual root of the gallery
$show_member_stats_if_appropriate boolean False N/A N/A Whether to show member stats if it is a member owned gallery
$zone ID_TEXT _SEARCH N/A N/A The zone that the gallery module we are linking to is in
$quit_if_empty boolean True N/A N/A Whether to not show anything if the gallery is empty
$preview boolean False N/A N/A Whether only to show 'preview' details
$give_context boolean True N/A N/A Whether to include context (i.e. say WHAT this is, not just show the actual content)
$include_breadcrumbs boolean True N/A N/A Whether to include breadcrumbs (if there are any)
$attach_to_url_filter boolean False N/A N/A Whether to copy through any filter parameters in the URL, under the basis that they are associated with what this box is browsing
$guid ID_TEXT Blank (empty string) N/A N/A Overridden GUID to send to templates (blank: none)

Return

  • The preview
  • Type: Tempcode
  • Set: N/A
  • Range: N/A