SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class ColModifierSubRecordCount

Counts records in a subtable.

E.g. count the records in a gallery_images table associated with records in a galleries table
The database query isn't done until the first record lookup

Variables

NameVisibilityDescription
$column 
$data 
$table 

Functions

NameVisibilityDescription
__constructpublic 
modifypublicModify a column value

public __construct

void $ColModifierSubRecordCount->__construct ( string $table , string $column );

This function does not have a description

public modify

string $ColModifierSubRecordCount->modify ( string $val , string $field_name );

Modify a column value
This value will be html/csv/etc encoded afterwards.