Example #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($userlevels_list)) {
    $userlevels_list = new cuserlevels_list();
}
// Page init
$userlevels_list->Page_Init();
// Page main
$userlevels_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$userlevels_list->Page_Render();
include_once "cciagheader.php";
if ($userlevels->Export == "") {
    ?>
<script type="text/javascript">

// Page object
    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($userlevels_list)) {
    $userlevels_list = new cuserlevels_list();
}
// Page init
$userlevels_list->Page_Init();
// Page main
$userlevels_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$userlevels_list->Page_Render();
include_once $EW_RELATIVE_PATH . "cciag_header.php";
if ($userlevels->Export == "") {
    ?>
<script type="text/javascript">

// Page object