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

PHP ew_InitArray函数代码示例

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

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



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

示例1: Page_Main

 function Page_Main()
 {
     global $Language;
     $this->ReportGroups =& ew_InitArray(2, NULL);
     $this->ReportCounts =& ew_InitArray(2, 0);
     $this->LevelBreak =& ew_InitArray(2, FALSE);
     $this->ReportTotals =& ew_Init2DArray(2, 2, 0);
     $this->ReportMaxs =& ew_Init2DArray(2, 2, 0);
     $this->ReportMins =& ew_Init2DArray(2, 2, 0);
     // Set up Breadcrumb
     $this->SetupBreadcrumb();
 }
开发者ID:Ombogo,项目名称:new_api_chat,代码行数:12,代码来源:Report1report.php


示例2: Page_Main

 function Page_Main()
 {
     global $Kitchen_Report_22D2;
     $this->vGrps = ew_InitArray(4, NULL);
     $this->nCntRecs = ew_InitArray(4, 0);
     $this->bLvlBreak = ew_InitArray(4, FALSE);
     $this->nTotals = ew_Init2DArray(4, 12, 0);
     $this->nMaxs = ew_Init2DArray(4, 12, 0);
     $this->nMins = ew_Init2DArray(4, 12, 0);
 }
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:10,代码来源:Kitchen_Report_22D2report.php


示例3: Page_Main

 function Page_Main()
 {
     global $Security, $Language;
     global $EW_RELATED_LANGUAGE_FOLDER;
     global $Breadcrumb;
     $url = substr(ew_CurrentUrl(), strrpos(ew_CurrentUrl(), "/") + 1);
     $Breadcrumb = new cBreadcrumb();
     $Breadcrumb->Add("list", "nivel_usuario", "nivel_usuariolist.php", "", "nivel_usuario");
     $Breadcrumb->Add("userpriv", "UserLevelPermission", $url);
     // Try to load PHP Report Maker language file
     // Note: The langauge IDs must be the same in both projects
     $Security->LoadUserLevelFromConfigFile($this->UserLevelList, $this->UserLevelPrivList, $this->TableList, TRUE);
     if ($EW_RELATED_LANGUAGE_FOLDER != "") {
         $this->ReportLanguage = new cLanguage($EW_RELATED_LANGUAGE_FOLDER);
     }
     $this->TableNameCount = count($this->TableList);
     $this->Privileges =& ew_InitArray($this->TableNameCount, 0);
     // Get action
     if (@$_POST["a_edit"] == "") {
         $this->CurrentAction = "I";
         // Display with input box
         // Load key from QueryString
         if (@$_GET["codigo"] != "") {
             $this->codigo->setQueryStringValue($_GET["codigo"]);
         } else {
             $this->Page_Terminate("nivel_usuariolist.php");
             // Return to list
         }
         if ($this->codigo->QueryStringValue == "-1") {
             $this->Disabled = " disabled=\"disabled\"";
         } else {
             $this->Disabled = "";
         }
     } else {
         $this->CurrentAction = $_POST["a_edit"];
         // Get fields from form
         $this->codigo->setFormValue($_POST["x_codigo"]);
         for ($i = 0; $i < $this->TableNameCount; $i++) {
             if (defined("EW_USER_LEVEL_COMPAT")) {
                 $this->Privileges[$i] = intval(@$_POST["Add_" . $i]) + intval(@$_POST["Delete_" . $i]) + intval(@$_POST["Edit_" . $i]) + intval(@$_POST["List_" . $i]);
             } else {
                 $this->Privileges[$i] = intval(@$_POST["Add_" . $i]) + intval(@$_POST["Delete_" . $i]) + intval(@$_POST["Edit_" . $i]) + intval(@$_POST["List_" . $i]) + intval(@$_POST["View_" . $i]) + intval(@$_POST["Search_" . $i]);
             }
         }
     }
     switch ($this->CurrentAction) {
         case "I":
             // Display
             if (!$Security->SetUpUserLevelEx()) {
                 // Get all User Level info
                 $this->Page_Terminate("nivel_usuariolist.php");
             }
             // Return to list
             break;
         case "U":
             // Update
             if ($this->EditRow()) {
                 // Update record based on key
                 if ($this->getSuccessMessage() == "") {
                     $this->setSuccessMessage($Language->Phrase("UpdateSuccess"));
                 }
                 // Set up update success message
                 // Alternatively, comment out the following line to go back to this page
                 $this->Page_Terminate("nivel_usuariolist.php");
                 // Return to list
             }
     }
 }
开发者ID:scintes,项目名称:sistemas,代码行数:68,代码来源:userpriv.php


示例4: Page_Main

 function Page_Main()
 {
     global $Delivery_Report_1;
     $this->vGrps = ew_InitArray(4, NULL);
     $this->nCntRecs = ew_InitArray(4, 0);
     $this->bLvlBreak = ew_InitArray(4, FALSE);
     $this->nTotals = ew_Init2DArray(4, 7, 0);
     $this->nMaxs = ew_Init2DArray(4, 7, 0);
     $this->nMins = ew_Init2DArray(4, 7, 0);
 }
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:10,代码来源:Delivery_Report_1report.php


示例5: ew_InitArray

function &ew_Init2DArray($len1, $len2, $value)
{
    return ew_InitArray($len1, ew_InitArray($len2, $value));
}
开发者ID:Razinsky,项目名称:echaude-com,代码行数:4,代码来源:phpfn8.php


示例6: Page_Main

 function Page_Main()
 {
     global $Security, $Language, $tbl_user_level;
     if (!is_array($GLOBALS["EW_USER_LEVEL_TABLE_NAME"])) {
         $this->setMessage($Language->Phrase("NoTableGenerated"));
         $this->Page_Terminate("tbl_user_levellist.php");
         // Return to list
     }
     $this->TableNameCount = count($GLOBALS["EW_USER_LEVEL_TABLE_NAME"]);
     $this->TableCaptionCount = count($GLOBALS["EW_USER_LEVEL_TABLE_CAPTION"]);
     $this->arPriv =& ew_InitArray($this->TableNameCount, 0);
     // Get action
     if (@$_POST["a_edit"] == "") {
         $tbl_user_level->CurrentAction = "I";
         // Display with input box
         // Load key from QueryString
         if (@$_GET["userlevelid"] != "") {
             $tbl_user_level->userlevelid->setQueryStringValue($_GET["userlevelid"]);
         } else {
             $this->Page_Terminate("tbl_user_levellist.php");
             // Return to list
         }
         if ($tbl_user_level->userlevelid->QueryStringValue == "-1") {
             $this->sDisabled = " disabled=\"disabled\"";
         } else {
             $this->sDisabled = "";
         }
     } else {
         $tbl_user_level->CurrentAction = $_POST["a_edit"];
         // Get fields from form
         $tbl_user_level->userlevelid->setFormValue($_POST["x_userlevelid"]);
         for ($i = 0; $i < $this->TableNameCount; $i++) {
             if (defined("EW_USER_LEVEL_COMPAT")) {
                 $this->arPriv[$i] = intval(@$_POST["Add_" . $i]) + intval(@$_POST["Delete_" . $i]) + intval(@$_POST["Edit_" . $i]) + intval(@$_POST["List_" . $i]);
             } else {
                 $this->arPriv[$i] = intval(@$_POST["Add_" . $i]) + intval(@$_POST["Delete_" . $i]) + intval(@$_POST["Edit_" . $i]) + intval(@$_POST["List_" . $i]) + intval(@$_POST["View_" . $i]) + intval(@$_POST["Search_" . $i]);
             }
         }
     }
     switch ($tbl_user_level->CurrentAction) {
         case "I":
             // Display
             $Security->SetUpUserLevelEx();
             // Get all User Level info
             break;
         case "U":
             // Update
             if ($this->EditRow()) {
                 // Update record based on key
                 $this->setMessage($Language->Phrase("UpdateSuccess"));
                 // Set update success message
                 // Alternatively, comment out the following line to go back to this page
                 $this->Page_Terminate("tbl_user_levellist.php");
                 // Return to list
             }
     }
 }
开发者ID:jliman,项目名称:SEOStat,代码行数:57,代码来源:userpriv.php


示例7: Page_Main

 function Page_Main()
 {
     global $Ingredients_Report_2;
     $this->vGrps = ew_InitArray(3, NULL);
     $this->nCntRecs = ew_InitArray(3, 0);
     $this->bLvlBreak = ew_InitArray(3, FALSE);
     $this->nTotals = ew_Init2DArray(3, 4, 0);
     $this->nMaxs = ew_Init2DArray(3, 4, 0);
     $this->nMins = ew_Init2DArray(3, 4, 0);
 }
开发者ID:elliecm,项目名称:MadisonandRayne,代码行数:10,代码来源:Ingredients_Report_2report.php


示例8: ew_Init2DArray

function ew_Init2DArray($iLen1, $iLen2, $vValue)
{
    return ew_InitArray($iLen1, ew_InitArray($iLen2, $vValue));
}
开发者ID:BGCX261,项目名称:zhss-svn-to-git,代码行数:4,代码来源:phpfn50.php


示例9: Page_Main

 function Page_Main()
 {
     global $Language;
     $this->ReportGroups =& ew_InitArray(1, NULL);
     $this->ReportCounts =& ew_InitArray(1, 0);
     $this->LevelBreak =& ew_InitArray(1, FALSE);
     $this->ReportTotals =& ew_Init2DArray(1, 3, 0);
     $this->ReportMaxs =& ew_Init2DArray(1, 3, 0);
     $this->ReportMins =& ew_Init2DArray(1, 3, 0);
 }
开发者ID:Rastrian,项目名称:RBAC_Manager,代码行数:10,代码来源:GM_Logsreport.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP ew_IsHttpPost函数代码示例发布时间:2022-05-15
下一篇:
PHP ew_IncludeTrailingDelimiter函数代码示例发布时间: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