Location: PHPKode > projects > CoopWorks Farmers Association Management > CoopWorks 3.1/FX_Class_events.php
<?php
//BindEvents Method @1-E5D34AEB
function BindEvents()
{
    global $fxclass;
    $fxclass->fxclass_TotalRecords->CCSEvents["BeforeShow"] = "fxclass_fxclass_TotalRecords_BeforeShow";
}
//End BindEvents Method

//fxclass_fxclass_TotalRecords_BeforeShow @5-106D6F09
function fxclass_fxclass_TotalRecords_BeforeShow(& $sender)
{
    $fxclass_fxclass_TotalRecords_BeforeShow = true;
    $Component = & $sender;
    $Container = & CCGetParentContainer($sender);
    global $fxclass; //Compatibility
//End fxclass_fxclass_TotalRecords_BeforeShow

//Retrieve number of records @6-ABE656B4
    $Component->SetValue($Container->DataSource->RecordsCount);
//End Retrieve number of records

//Close fxclass_fxclass_TotalRecords_BeforeShow @5-423BD909
    return $fxclass_fxclass_TotalRecords_BeforeShow;
}
//End Close fxclass_fxclass_TotalRecords_BeforeShow


?>
Return current item: CoopWorks Farmers Association Management