SproutCMS

This is the code documentation for the SproutCMS project

function loadAutofillListData()

Loads autofill_list data for use on a view

Usage

array JsonForm::loadAutofillListData ( array $conf , string $local_table_name , int $local_record_id , array $conditions );

Arguments

  1. array $conf
    The form config, pulled from JSON
  2. string $local_table_name
    The 'local' table name (i.e. the table which is being edited)
  3. int $local_record_id
    The local record id
  4. array $conditions
    Conditions to get records in the joiner 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