SproutCMS

This is the code documentation for the SproutCMS project

function recordEmpty()

Returns true if the multiedit record is empty, false otherwise

Usage

boolean MultiEdit::recordEmpty ( array $record , array $defaults );

Arguments

  1. array $record
    Collated [field => value] pairs which are to be saved with a multiedit record
  2. array $defaults
    Default values as [field => value] pairs; any field which is set to its default value
           isn't counted as non-empty; i.e. if all fields are left as their default values, the record is considered
           empty.

Return value

  • boolean