SproutCMS

This is the code documentation for the SproutCMS project

function _importPreRecord()

Called after the field data has been determined, but before the insert or update is run.

Return FALSE to skip the record.

Usage

unknown $ManagedAdminController->_importPreRecord ( array &$new_data , array $raw_data );

Arguments

  1. array $new_data (by reference)
    The CSV data, with database-mapped names, but before
                           the database quoting has happened.
                           This is a by-reference argument.
  2. array $raw_data
    Raw CSV data, with original field names.