SproutCMS

This is the code documentation for the SproutCMS project

class ColModifierLookupTable

Returns data from a database table.

This is basically than ColModifierLookupArray(Pdb::lookup),
but it doesn't call the Pdb::lookup until right before it's needed,
so if the itemlist doesn't get used, we aren't wasting a db call.

Source code (2 results)

/sprout/Controllers/Admin/RedirectAdminController.php   Highlighted file source

Line 17: use Sprout\Helpers\ColModifierLookupTable;
Line 57: 'Subsite' => [new ColModifierLookupTable('subsites'), 'subsite_id'],

/sprout/Helpers/ColModifierLookupTable.php   Highlighted file source

Line 23: class ColModifierLookupTable extends ColModifier

A total of 3 lines in 2 files were found