Function Module_cms_galleries->check_images_allowed

Definitions

cms/pages/modules/cms_galleries.php

  • Kills the software if someone is trying to add an image to a gallery that does not support images.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$cat ID_TEXT required parameter N/A N/A The gallery
$tolerate_non_exist boolean False N/A N/A Whether to tolerate the non-existence of the gallery

Return

  • Number allowed remaining (null: no limit)
  • Type: ?integer
  • Set: N/A
  • Range: N/A