• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

PHP ew_SessionTimeoutTime函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中ew_SessionTimeoutTime函数的典型用法代码示例。如果您正苦于以下问题:PHP ew_SessionTimeoutTime函数的具体用法?PHP ew_SessionTimeoutTime怎么用?PHP ew_SessionTimeoutTime使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了ew_SessionTimeoutTime函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: __construct

 function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (projects)
     if (!isset($GLOBALS["projects"]) || get_class($GLOBALS["projects"]) == "cprojects") {
         $GLOBALS["projects"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["projects"];
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'blobview', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'projects', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
 }
开发者ID:NaurozAhmad,项目名称:Senho,代码行数:33,代码来源:projects_images_bv.php


示例2: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (upload_file)
     if (!isset($GLOBALS["upload_file"]) || get_class($GLOBALS["upload_file"]) == "cupload_file") {
         $GLOBALS["upload_file"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["upload_file"];
     }
     // Table object (user)
     if (!isset($GLOBALS['user'])) {
         $GLOBALS['user'] = new cuser();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'blobview', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'upload_file', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:43,代码来源:upload_file_PATH_bv.php


示例3: __construct

 function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (sub_category)
     if (!isset($GLOBALS["sub_category"]) || get_class($GLOBALS["sub_category"]) == "csub_category") {
         $GLOBALS["sub_category"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["sub_category"];
     }
     $KeyUrl = "";
     if (@$_GET["scat_id"] != "") {
         $this->RecKey["scat_id"] = $_GET["scat_id"];
         $KeyUrl .= "&scat_id=" . urlencode($this->RecKey["scat_id"]);
     }
     $this->ExportPrintUrl = $this->PageUrl() . "export=print" . $KeyUrl;
     $this->ExportHtmlUrl = $this->PageUrl() . "export=html" . $KeyUrl;
     $this->ExportExcelUrl = $this->PageUrl() . "export=excel" . $KeyUrl;
     $this->ExportWordUrl = $this->PageUrl() . "export=word" . $KeyUrl;
     $this->ExportXmlUrl = $this->PageUrl() . "export=xml" . $KeyUrl;
     $this->ExportCsvUrl = $this->PageUrl() . "export=csv" . $KeyUrl;
     $this->ExportPdfUrl = $this->PageUrl() . "export=pdf" . $KeyUrl;
     // Table object (category)
     if (!isset($GLOBALS['category'])) {
         $GLOBALS['category'] = new ccategory();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'view', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'sub_category', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // Export options
     $this->ExportOptions = new cListOptions();
     $this->ExportOptions->Tag = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
     // Other options
     $this->OtherOptions['action'] = new cListOptions();
     $this->OtherOptions['action']->Tag = "div";
     $this->OtherOptions['action']->TagClassName = "ewActionOption";
     $this->OtherOptions['detail'] = new cListOptions();
     $this->OtherOptions['detail']->Tag = "div";
     $this->OtherOptions['detail']->TagClassName = "ewDetailOption";
 }
开发者ID:NaurozAhmad,项目名称:G-Axis,代码行数:60,代码来源:sub_categoryview.php


示例4: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     if (!isset($GLOBALS["nos_roster_admin"])) {
         $GLOBALS["nos_roster_admin"] = new cnos_roster_admin();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'logout', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect();
     }
     // User table object (nos_roster_admin)
     if (!isset($UserTable)) {
         $UserTable = new cnos_roster_admin();
         $UserTableConn = Conn($UserTable->DBID);
     }
 }
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:31,代码来源:logout.php


示例5: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (nos_members)
     if (!isset($GLOBALS["nos_members"]) || get_class($GLOBALS["nos_members"]) == "cnos_members") {
         $GLOBALS["nos_members"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["nos_members"];
     }
     // Table object (nos_roster_admin)
     if (!isset($GLOBALS['nos_roster_admin'])) {
         $GLOBALS['nos_roster_admin'] = new cnos_roster_admin();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'edit', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'nos_members', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (nos_roster_admin)
     if (!isset($UserTable)) {
         $UserTable = new cnos_roster_admin();
         $UserTableConn = Conn($UserTable->DBID);
     }
 }
开发者ID:NoSympathy,项目名称:Dashboard,代码行数:43,代码来源:nos_membersedit.php


示例6: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (air_port)
     if (!isset($GLOBALS["air_port"]) || get_class($GLOBALS["air_port"]) == "cair_port") {
         $GLOBALS["air_port"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["air_port"];
     }
     // Initialize URLs
     $this->ExportPrintUrl = $this->PageUrl() . "export=print";
     $this->ExportExcelUrl = $this->PageUrl() . "export=excel";
     $this->ExportWordUrl = $this->PageUrl() . "export=word";
     $this->ExportHtmlUrl = $this->PageUrl() . "export=html";
     $this->ExportXmlUrl = $this->PageUrl() . "export=xml";
     $this->ExportCsvUrl = $this->PageUrl() . "export=csv";
     $this->ExportPdfUrl = $this->PageUrl() . "export=pdf";
     $this->AddUrl = "air_portadd.php";
     $this->InlineAddUrl = $this->PageUrl() . "a=add";
     $this->GridAddUrl = $this->PageUrl() . "a=gridadd";
     $this->GridEditUrl = $this->PageUrl() . "a=gridedit";
     $this->MultiDeleteUrl = "air_portdelete.php";
     $this->MultiUpdateUrl = "air_portupdate.php";
     // Table object (user)
     if (!isset($GLOBALS['user'])) {
         $GLOBALS['user'] = new cuser();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'list', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'air_port', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
     // List options
     $this->ListOptions = new cListOptions();
     $this->ListOptions->TableVar = $this->TableVar;
     // Export options
     $this->ExportOptions = new cListOptions();
     $this->ExportOptions->Tag = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
     // Other options
     $this->OtherOptions['addedit'] = new cListOptions();
     $this->OtherOptions['addedit']->Tag = "div";
     $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption";
     $this->OtherOptions['detail'] = new cListOptions();
     $this->OtherOptions['detail']->Tag = "div";
     $this->OtherOptions['detail']->TagClassName = "ewDetailOption";
     $this->OtherOptions['action'] = new cListOptions();
     $this->OtherOptions['action']->Tag = "div";
     $this->OtherOptions['action']->TagClassName = "ewActionOption";
     // Filter options
     $this->FilterOptions = new cListOptions();
     $this->FilterOptions->Tag = "div";
     $this->FilterOptions->TagClassName = "ewFilterOption fair_portlistsrch";
     // List actions
     $this->ListActions = new cListActions();
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:80,代码来源:air_portlist.php


示例7: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'custom', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'PrincipalDestinations.php', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect();
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:32,代码来源:PrincipalDestinations.php


示例8: ew_SessionTimeoutTime

"; // Default date format
var EW_DECIMAL_POINT = "<?php 
echo $DEFAULT_DECIMAL_POINT;
?>
";
var EW_THOUSANDS_SEP = "<?php 
echo $DEFAULT_THOUSANDS_SEP;
?>
";
var EW_GENERATE_PASSWORD_LENGTH = 16;
var EW_GENERATE_PASSWORD_UPPERCASE = true;
var EW_GENERATE_PASSWORD_LOWERCASE = true;
var EW_GENERATE_PASSWORD_NUMBER = true;
var EW_GENERATE_PASSWORD_SPECIALCHARS = false;
var EW_SESSION_TIMEOUT = <?php 
echo EW_SESSION_TIMEOUT > 0 ? ew_SessionTimeoutTime() : 0;
?>
; // Session timeout time (seconds)
var EW_SESSION_TIMEOUT_COUNTDOWN = <?php 
echo EW_SESSION_TIMEOUT_COUNTDOWN;
?>
; // Count down time to session timeout (seconds)
var EW_SESSION_KEEP_ALIVE_INTERVAL = <?php 
echo EW_SESSION_KEEP_ALIVE_INTERVAL;
?>
; // Keep alive interval (seconds)
var EW_RELATIVE_PATH = "<?php 
echo $EW_RELATIVE_PATH;
?>
"; // Relative path
var EW_SESSION_URL = EW_RELATIVE_PATH + "ewsession12.php"; // Session URL
开发者ID:cahilbey,项目名称:VL-AWS-Test,代码行数:31,代码来源:header.php


示例9: ew_CheckToken

function ew_CheckToken($token, $timeout = 0)
{
    if ($timeout <= 0) {
        $timeout = ew_SessionTimeoutTime();
    }
    return time() - intval(ew_Decrypt($token)) < $timeout;
}
开发者ID:NaurozAhmad,项目名称:Senho,代码行数:7,代码来源:phpfn12.php


示例10: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (user)
     if (!isset($GLOBALS["user"]) || get_class($GLOBALS["user"]) == "cuser") {
         $GLOBALS["user"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["user"];
     }
     if (!isset($GLOBALS["user"])) {
         $GLOBALS["user"] =& $this;
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'forgotpwd', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:38,代码来源:forgotpwd.php


示例11: __construct

 function __construct()
 {
     global $conn, $Language;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'default', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect();
     }
 }
开发者ID:NaurozAhmad,项目名称:Senho,代码行数:22,代码来源:index.php


示例12: ew_SessionTimeoutTime

var EW_DECIMAL_POINT = "<?php 
    echo $DEFAULT_DECIMAL_POINT;
    ?>
";
var EW_THOUSANDS_SEP = "<?php 
    echo $DEFAULT_THOUSANDS_SEP;
    ?>
";
var EW_MIN_PASSWORD_STRENGTH = 60;
var EW_GENERATE_PASSWORD_LENGTH = 16;
var EW_GENERATE_PASSWORD_UPPERCASE = true;
var EW_GENERATE_PASSWORD_LOWERCASE = true;
var EW_GENERATE_PASSWORD_NUMBER = true;
var EW_GENERATE_PASSWORD_SPECIALCHARS = false;
var EW_SESSION_TIMEOUT = <?php 
    echo ew_SessionTimeoutTime();
    ?>
; // Session timeout time (seconds)
var EW_SESSION_TIMEOUT_COUNTDOWN = <?php 
    echo EW_SESSION_TIMEOUT_COUNTDOWN;
    ?>
; // Count down time to session timeout (seconds)
var EW_SESSION_KEEP_ALIVE_INTERVAL = <?php 
    echo EW_SESSION_KEEP_ALIVE_INTERVAL;
    ?>
; // Keep alive interval (seconds)
var EW_RELATIVE_PATH = "<?php 
    echo $EW_RELATIVE_PATH;
    ?>
"; // Relative path
var EW_SESSION_URL = EW_RELATIVE_PATH + "ewsession12.php"; // Session URL
开发者ID:ahmarmahmood,项目名称:tabedaar,代码行数:31,代码来源:header.php


示例13: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (upload_file_detail_status)
     if (!isset($GLOBALS["upload_file_detail_status"]) || get_class($GLOBALS["upload_file_detail_status"]) == "cupload_file_detail_status") {
         $GLOBALS["upload_file_detail_status"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["upload_file_detail_status"];
     }
     $KeyUrl = "";
     if (@$_GET["UPLOAD_FILE_DETAIL_STATUS_ID"] != "") {
         $this->RecKey["UPLOAD_FILE_DETAIL_STATUS_ID"] = $_GET["UPLOAD_FILE_DETAIL_STATUS_ID"];
         $KeyUrl .= "&amp;UPLOAD_FILE_DETAIL_STATUS_ID=" . urlencode($this->RecKey["UPLOAD_FILE_DETAIL_STATUS_ID"]);
     }
     $this->ExportPrintUrl = $this->PageUrl() . "export=print" . $KeyUrl;
     $this->ExportHtmlUrl = $this->PageUrl() . "export=html" . $KeyUrl;
     $this->ExportExcelUrl = $this->PageUrl() . "export=excel" . $KeyUrl;
     $this->ExportWordUrl = $this->PageUrl() . "export=word" . $KeyUrl;
     $this->ExportXmlUrl = $this->PageUrl() . "export=xml" . $KeyUrl;
     $this->ExportCsvUrl = $this->PageUrl() . "export=csv" . $KeyUrl;
     $this->ExportPdfUrl = $this->PageUrl() . "export=pdf" . $KeyUrl;
     // Table object (user)
     if (!isset($GLOBALS['user'])) {
         $GLOBALS['user'] = new cuser();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'view', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'upload_file_detail_status', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
     // Export options
     $this->ExportOptions = new cListOptions();
     $this->ExportOptions->Tag = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
     // Other options
     $this->OtherOptions['action'] = new cListOptions();
     $this->OtherOptions['action']->Tag = "div";
     $this->OtherOptions['action']->TagClassName = "ewActionOption";
     $this->OtherOptions['detail'] = new cListOptions();
     $this->OtherOptions['detail']->Tag = "div";
     $this->OtherOptions['detail']->TagClassName = "ewDetailOption";
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:66,代码来源:upload_file_detail_statusview.php


示例14: __construct

 function __construct()
 {
     global $conn, $Language;
     $this->FormActionName .= '_' . $this->FormName;
     $this->FormKeyName .= '_' . $this->FormName;
     $this->FormOldKeyName .= '_' . $this->FormName;
     $this->FormBlankRowName .= '_' . $this->FormName;
     $this->FormKeyCountName .= '_' . $this->FormName;
     $GLOBALS["Grid"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (products)
     if (!isset($GLOBALS["products"]) || get_class($GLOBALS["products"]) == "cproducts") {
         $GLOBALS["products"] =& $this;
         //			$GLOBALS["MasterTable"] = &$GLOBALS["Table"];
         //			if (!isset($GLOBALS["Table"])) $GLOBALS["Table"] = &$GLOBALS["products"];
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'grid', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'products', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // List options
     $this->ListOptions = new cListOptions();
     $this->ListOptions->TableVar = $this->TableVar;
     // Other options
     $this->OtherOptions['addedit'] = new cListOptions();
     $this->OtherOptions['addedit']->Tag = "div";
     $this->OtherOptions['addedit']->TagClassName = "ewAddEditOption";
 }
开发者ID:NaurozAhmad,项目名称:G-Axis,代码行数:46,代码来源:productsgridcls.php


示例15: __construct

 function __construct()
 {
     global $conn, $Language;
     global $UserTable, $UserTableConn;
     $GLOBALS["Page"] =& $this;
     $this->TokenTimeout = ew_SessionTimeoutTime();
     // Language object
     if (!isset($Language)) {
         $Language = new cLanguage();
     }
     // Parent constuctor
     parent::__construct();
     // Table object (ReportePrueba)
     if (!isset($GLOBALS["ReportePrueba"]) || get_class($GLOBALS["ReportePrueba"]) == "cReportePrueba") {
         $GLOBALS["ReportePrueba"] =& $this;
         $GLOBALS["Table"] =& $GLOBALS["ReportePrueba"];
     }
     // Initialize URLs
     $this->ExportPrintUrl = $this->PageUrl() . "export=print";
     $this->ExportExcelUrl = $this->PageUrl() . "export=excel";
     $this->ExportWordUrl = $this->PageUrl() . "export=word";
     // Table object (user)
     if (!isset($GLOBALS['user'])) {
         $GLOBALS['user'] = new cuser();
     }
     // Page ID
     if (!defined("EW_PAGE_ID")) {
         define("EW_PAGE_ID", 'report', TRUE);
     }
     // Table name (for backward compatibility)
     if (!defined("EW_TABLE_NAME")) {
         define("EW_TABLE_NAME", 'ReportePrueba', TRUE);
     }
     // Start timer
     if (!isset($GLOBALS["gTimer"])) {
         $GLOBALS["gTimer"] = new cTimer();
     }
     // Open connection
     if (!isset($conn)) {
         $conn = ew_Connect($this->DBID);
     }
     // User table object (user)
     if (!isset($UserTable)) {
         $UserTable = new cuser();
         $UserTableConn = Conn($UserTable->DBID);
     }
     // Export options
     $this->ExportOptions = new cListOptions();
     $this->ExportOptions->Tag = "div";
     $this->ExportOptions->TagClassName = "ewExportOption";
 }
开发者ID:demian054,项目名称:APCB_WebPagePHP,代码行数:51,代码来源:ReportePruebareport.php



注:本文中的ew_SessionTimeoutTime函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP ew_StdCurrentDateTime函数代码示例发布时间:2022-05-15
下一篇:
PHP ew_ServerVar函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap