Function __global->image_get_defaults__post

Definitions

sources/galleries2.php

  • Get image details from POST environment and details/metadata.Allows required fields to be found in metadata before an error is raised.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$is_edit boolean False N/A N/A Whether this is for an edit operation
$url URLPATH Blank (empty string) N/A N/A URL to the image (blank: not known yet, calculate here if possible)
$filename ?string Null N/A N/A Filename of image (null: not known yet, calculate here if possible)
$title string Blank (empty string) N/A N/A Title of image (blank: not known yet, calculate here if possible)
$cat string Blank (empty string) N/A N/A Gallery (blank: not known yet, calculate here if possible)

Return

  • Tuple of image details
  • Type: array
  • Set: N/A
  • Range: N/A