SproutCMS

This is the code documentation for the SproutCMS project

function loadMultiEditData()

Loads multiedit data for use on a view

Usage

array JsonForm::loadMultiEditData ( array $conf , string $default_link , int $record_id , array $conditions );

Arguments

  1. array $conf
    The form config, pulled from JSON
  2. string $default_link
    The default linking column name
  3. int $record_id
    The base record ID
  4. array $conditions
    Conditions to get records in the multiedit table which relate to the base record;
           see Pdb::buildClause. A clause of 'link_column' => $record_id will be appended to any provided
           conditions.

Return value

  • array
    The View will be modified