当前位置: 首页>>代码示例>>PHP>>正文


PHP Ibos::getLangSource方法代码示例

本文整理汇总了PHP中Ibos::getLangSource方法的典型用法代码示例。如果您正苦于以下问题:PHP Ibos::getLangSource方法的具体用法?PHP Ibos::getLangSource怎么用?PHP Ibos::getLangSource使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Ibos的用法示例。


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

示例1: renderIndex

 public function renderIndex()
 {
     $data = array("todo" => $this->loadTodo(), "lang" => Ibos::getLangSource("workflow.default"), "assetUrl" => Ibos::app()->assetManager->getAssetsUrl("workflow"));
     $viewAlias = "application.modules.workflow.views.indexapi.workflow";
     $return["workflow"] = Ibos::app()->getController()->renderPartial($viewAlias, $data, true);
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:WorkflowApi.php

示例2: renderIndex

 public function renderIndex()
 {
     $data = array("articles" => $this->loadNewArticle(), "lang" => Ibos::getLangSource("article.default"), "assetUrl" => Ibos::app()->assetManager->getAssetsUrl("article"));
     $viewAlias = "application.modules.article.views.indexapi.article";
     $return["article"] = Ibos::app()->getController()->renderPartial($viewAlias, $data, true);
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:ArticleApi.php

示例3: getSidebar

 protected function getSidebar()
 {
     $sidebarAlias = "application.modules.calendar.views.sidebar";
     $params = array("hasSubUid" => UserUtil::hasSubUid(Ibos::app()->user->uid), "lang" => Ibos::getLangSource("calendar.default"));
     $sidebarView = $this->renderPartial($sidebarAlias, $params, true);
     return $sidebarView;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:CalendarBaseController.php

示例4: renderIndex

 public function renderIndex()
 {
     $data = array("schedules" => $this->loadNewSchedules(), "lant" => Ibos::getLangSource("calendar.default"), "assetUrl" => Yii::app()->assetManager->getAssetsUrl("calendar"));
     $viewAlias = "application.modules.calendar.views.indexapi.schedule";
     $return["calendar"] = Yii::app()->getController()->renderPartial($viewAlias, $data, true);
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:CalendarApi.php

示例5: renderIndex

 public function renderIndex()
 {
     $data = array("docs" => $this->loadNewDoc(), "lang" => Ibos::getLangSource("officialdoc.default"), "assetUrl" => Yii::app()->assetManager->getAssetsUrl("officialdoc"));
     $viewAlias = "application.modules.officialdoc.views.indexapi.officialdoc";
     $return["officialdoc"] = Yii::app()->getController()->renderPartial($viewAlias, $data, true);
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:OfficialdocApi.php

示例6: getIncentiveWord

 public static function getIncentiveWord()
 {
     $words = Ibos::getLangSource("incentiveword");
     $luckyOne = array_rand($words);
     $source = $words[$luckyOne];
     return Ibos::lang("Custom title", "main.default") . $source[array_rand($source)];
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:MainUtil.php

示例7: showDetail

 protected function showDetail()
 {
     $repid = intval(EnvUtil::getRequest("repid"));
     $isShowTitle = EnvUtil::getRequest("isShowTitle");
     $fromController = EnvUtil::getRequest("fromController");
     $report = Report::model()->fetchByPk($repid);
     $uid = Ibos::app()->user->uid;
     Report::model()->addReaderuid($report, $uid);
     $record = ReportRecord::model()->fetchAllRecordByRep($report);
     $attachs = array();
     if (!empty($report["attachmentid"])) {
         $attachs = AttachUtil::getAttach($report["attachmentid"], true, true, false, false, true);
     }
     $readers = array();
     if (!empty($report["readeruid"])) {
         $readerArr = explode(",", $report["readeruid"]);
         $readers = User::model()->fetchAllByPk($readerArr);
     }
     $stampUrl = "";
     if ($report["stamp"] != 0) {
         $stamp = Stamp::model()->fetchStampById($report["stamp"]);
         $stampUrl = FileUtil::fileName(Stamp::STAMP_PATH) . $stamp;
     }
     $report["addtime"] = ConvertUtil::formatDate($report["addtime"], "u");
     $params = array("lang" => Ibos::getLangSource("report.default"), "repid" => $repid, "report" => $report, "uid" => $uid, "orgPlanList" => $record["orgPlanList"], "outSidePlanList" => $record["outSidePlanList"], "nextPlanList" => $record["nextPlanList"], "attachs" => $attachs, "readers" => $readers, "stampUrl" => $stampUrl, "fromController" => $fromController, "isShowTitle" => $isShowTitle, "allowComment" => $this->getIsAllowComment($fromController));
     $detailAlias = "application.modules.report.views.detail";
     $detailView = $this->renderPartial($detailAlias, $params, true);
     $this->ajaxReturn(array("data" => $detailView, "isSuccess" => true));
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:29,代码来源:ReportBaseController.php

示例8: renderIndex

 public function renderIndex()
 {
     $return = array();
     $viewAlias = "application.modules.report.views.indexapi.report";
     $uid = Ibos::app()->user->uid;
     $reports = Report::model()->fetchAllRepByUids($uid);
     if (!empty($reports)) {
         $reports = $this->handleIconUrl($reports);
     }
     $subUidArr = User::model()->fetchSubUidByUid($uid);
     $subUidStr = implode(",", $subUidArr);
     $subReports = Report::model()->fetchAll("FIND_IN_SET(`uid`, '{$subUidStr}') OR FIND_IN_SET({$uid}, `toid`)");
     if (!empty($subReports)) {
         $subReports = $this->handleIconUrl($subReports, true);
     }
     $data = array("reports" => $reports, "subReports" => $subReports, "lang" => Ibos::getLangSource("report.default"), "assetUrl" => Yii::app()->assetManager->getAssetsUrl("report"));
     foreach ($this->_indexTab as $tab) {
         $data["tab"] = $tab;
         if ($tab == "reportPersonal") {
             $return[$tab] = Yii::app()->getController()->renderPartial($viewAlias, $data, true);
         } else {
             if ($tab == "reportAppraise" && (0 < count($subUidArr) || !empty($subReports))) {
                 $return[$tab] = Yii::app()->getController()->renderPartial($viewAlias, $data, true);
             }
         }
     }
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:28,代码来源:ReportApi.php

示例9: getSidebar

 public function getSidebar()
 {
     $sidebarAlias = "application.modules.recruit.views.resume.sidebar";
     $params = array("lang" => Ibos::getLangSource("recruit.default"), "statModule" => Ibos::app()->setting->get("setting/statmodules"));
     $sidebarView = $this->renderPartial($sidebarAlias, $params, false);
     return $sidebarView;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:StatsController.php

示例10: run

 public function run()
 {
     $id = $this->getController()->getId();
     $action = $this->getController()->getAction()->getId();
     $data = array("inPersonal" => $id == "stats" && $action == "personal", "inReview" => $id == "stats" && $action == "review", "hasSub" => $this->getHasSub(), "lang" => Ibos::getLangSource("report.default"));
     $this->render(self::VIEW, $data);
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:7,代码来源:IWStatReportSidebar.php

示例11: getSidebar

 public function getSidebar()
 {
     $sidebarAlias = "application.modules.report.views.sidebar";
     $uid = Ibos::app()->user->uid;
     $params = array("statModule" => Ibos::app()->setting->get("setting/statmodules"), "lang" => Ibos::getLangSource("report.default"), "reportTypes" => ReportType::model()->fetchAllTypeByUid($uid));
     $sidebarView = $this->renderPartial($sidebarAlias, $params);
     return $sidebarView;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:8,代码来源:DefaultController.php

示例12: getSidebar

 public function getSidebar()
 {
     $uid = Ibos::app()->user->uid;
     $deptArr = UserUtil::getManagerDeptSubUserByUid($uid);
     $sidebarAlias = "application.modules.report.views.stats.sidebar";
     $params = array("lang" => Ibos::getLangSource("report.default"), "deptArr" => $deptArr, "dashboardConfig" => $this->getReportConfig(), "statModule" => Ibos::app()->setting->get("setting/statmodules"));
     $sidebarView = $this->renderPartial($sidebarAlias, $params, false);
     return $sidebarView;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:9,代码来源:StatsController.php

示例13: actionApplist

 public function actionApplist()
 {
     $detailAlias = "application.modules.app.views.default.applist";
     $category = AppCategory::model()->fetchAllSort();
     foreach ($category as $key => $value) {
         $category[$key]["count"] = App::model()->count("catid = {$value["catid"]}");
     }
     $params = array("lang" => Ibos::getLangSource("app.default"), "assetUrl" => Ibos::app()->assetManager->getAssetsUrl("app"), "category" => $category, "appCount" => App::model()->count("appid"));
     $detailView = $this->renderPartial($detailAlias, $params, true);
     echo $detailView;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:11,代码来源:DefaultController.php

示例14: renderIndex

 public function renderIndex()
 {
     $data = array("lant" => Ibos::getLangSource("recruit.default"), "assetUrl" => Yii::app()->assetManager->getAssetUrl("recruit"));
     foreach ($this->_indexTab as $tab) {
         $data["recruits"] = $this->loadRecruit($tab);
         $data["tab"] = $tab;
     }
     $viewAlias = "application.modules.recruit.views.indexapi.recruit";
     $return["recruit"] = Yii::app()->getController()->renderPartial($viewAlias, $data, true);
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:11,代码来源:RecruitApi.php

示例15: renderIndex

 public function renderIndex()
 {
     $return = array();
     $viewAlias = "application.modules.email.views.indexapi.email";
     $data["lang"] = Ibos::getLangSource("email.default");
     $data["assetUrl"] = Ibos::app()->assetManager->getAssetsUrl("email");
     foreach ($this->_indexTab as $tab) {
         $data["emails"] = $this->loadEmail($tab);
         $data["tab"] = $tab;
         $return[$tab] = Ibos::app()->getController()->renderPartial($viewAlias, $data, true);
     }
     return $return;
 }
开发者ID:AxelPanda,项目名称:ibos,代码行数:13,代码来源:EmailApi.php


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