SproutCMS

This is the code documentation for the SproutCMS project

function autoSetEmptyParam()

Auto-set the "empty" param for fields with foreign keys to be NULL

This greatly reduces the number of foreign-key constraints hit in day-to-day use,
especially with file fields.

Usage

null $Controller->autoSetEmptyParam ( array &$conf );

Arguments

  1. array $conf (by reference)
    Json form configuration

Return value

  • null
    Array $conf is altered in-place