Пример #1
0
    function ListOptions_Rendered()
    {
        // Example:
        //$this->ListOptions->Items["new"]->Body = "xxx";
    }
    // Row Custom Action event
    function Row_CustomAction($action, $row)
    {
        // Return FALSE to abort
        return TRUE;
    }
}
ew_Header(FALSE);
// Create page object
if (!isset($socios_list)) {
    $socios_list = new csocios_list();
}
// Page init
$socios_list->Page_Init();
// Page main
$socios_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$socios_list->Page_Render();
include_once "header.php";
if ($socios->Export == "") {
    ?>
<script type="text/javascript">

// Page object
Пример #2
0
    function Row_Export($rs)
    {
        //$this->ExportDoc->Text .= "my content"; // Build HTML with field value: $rs["MyField"] or $this->MyField->ViewValue
    }
    // Page Exported event
    // $this->ExportDoc = export document object
    function Page_Exported()
    {
        //$this->ExportDoc->Text .= "my footer"; // Export footer
        //echo $this->ExportDoc->Text;
    }
}
ew_Header(FALSE);
// Create page object
if (!isset($socios_list)) {
    $socios_list = new csocios_list();
}
// Page init
$socios_list->Page_Init();
// Page main
$socios_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$socios_list->Page_Render();
include_once $EW_RELATIVE_PATH . "cciag_header.php";
if ($socios->Export == "") {
    ?>
<script type="text/javascript">

// Page object