Function __global->take_param_int_modeavg

Definitions

sources/form_templates.php

  • Find a default property, defaulting to the average of what is there already, or the given default if really necessary.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$setting ?integer required parameter N/A N/A The current setting (null: we have to work it out); if non-null, the function will immediately return
$db_property ID_TEXT required parameter N/A N/A The property
$table ID_TEXT required parameter N/A N/A The table to average within
$default integer required parameter N/A N/A The last-resort default

Return

  • The value
  • Type: integer
  • Set: N/A
  • Range: N/A