예제 #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($news_list)) {
    $news_list = new cnews_list();
}
// Page init
$news_list->Page_Init();
// Page main
$news_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$news_list->Page_Render();
include_once "header.php";
?>
<script type="text/javascript">

// Page object
var news_list = new ew_Page("news_list");
예제 #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($news_list)) {
    $news_list = new cnews_list();
}
// Page init
$news_list->Page_Init();
// Page main
$news_list->Page_Main();
// Global Page Rendering event (in userfn*.php)
Page_Rendering();
// Page Rendering event
$news_list->Page_Render();
include_once "header.php";
?>
<script type="text/javascript">

// Form object
var CurrentPageID = EW_PAGE_ID = "list";