當前位置: 首頁>>代碼示例>>PHP>>正文


PHP app::v方法代碼示例

本文整理匯總了PHP中app::v方法的典型用法代碼示例。如果您正苦於以下問題:PHP app::v方法的具體用法?PHP app::v怎麽用?PHP app::v使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在app的用法示例。


在下文中一共展示了app::v方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: handleUserInfoWithWeb

 private function handleUserInfoWithWeb()
 {
     $user_cookies = parent::v('cookies', array('password'));
     if ($user_cookies['password']) {
     } else {
         $this->loginIn();
     }
 }
開發者ID:knowsee,項目名稱:uoke_framework,代碼行數:8,代碼來源:corelast.class.php

示例2: editProject_Action

 public function editProject_Action()
 {
     if (app::v('checkallow', 'submit')) {
         $baseId = intval($this->getInput['baseId']);
         $moneyInfo = array(control_baseMoney::TABLE_BASEMONEY => $this->getInput[control_baseMoney::TABLE_BASEMONEY], control_baseMoney::TABLE_RUNMONEY => $this->getInput[control_baseMoney::TABLE_RUNMONEY], control_baseMoney::TABLE_CLIENTMONEY => $this->getInput[control_baseMoney::TABLE_CLIENTMONEY]);
         control_baseMoney::editBaseMoneyInfo($moneyInfo, $baseId);
         showmsg(control_returnCode::FORM_SUBMIT_TRUE);
     }
 }
開發者ID:knowsee,項目名稱:uoke_framework,代碼行數:9,代碼來源:project.class.php

示例3: edit_Action

 public function edit_Action()
 {
     $userId = $this->getInput['userId'];
     if ($userId) {
         $userInfo = control_user::getUserInfo($userId);
         if (!$userInfo) {
             showmsg(control_returnCode::FORM_INFO_EMPTY);
         }
     }
     if (app::v('checkallow', 'submit')) {
         if ($userInfo) {
             $status = control_user::editUser($userId, array(control_user::TABLE_REALNAME => $this->getInput[control_user::TABLE_REALNAME], control_user::TABLE_EMAIL => $this->getInput[control_user::TABLE_EMAIL], control_user::TABLE_PASSWORD => $this->getInput[control_user::TABLE_PASSWORD]));
         } else {
             $status = control_user::regUser(array(control_user::TABLE_REALNAME => $this->getInput[control_user::TABLE_REALNAME], control_user::TABLE_EMAIL => $this->getInput[control_user::TABLE_EMAIL], control_user::TABLE_PASSWORD => $this->getInput[control_user::TABLE_PASSWORD]));
         }
         showmsg($status, array(), $this->privateUri['clientListUri']);
     } else {
         $this->modelDisplay(array('userInfo' => $userInfo, 'formTitle' => !$userInfo ? '新增客戶' : '編輯客戶', 'userId' => $userId));
     }
 }
開發者ID:knowsee,項目名稱:uoke_framework,代碼行數:20,代碼來源:client.class.php

示例4: getFileInput

 public function getFileInput($fileList = array())
 {
     return app::v('file', $fileList, array('addslashes'));
 }
開發者ID:knowsee,項目名稱:uoke_framework,代碼行數:4,代碼來源:model.class.php

示例5: showmsg

             showmsg(control_returnCode::AJAX_GET_NOMODEL);
             break;
     }
 }
 public function systemUpdate_Action()
 {
     if (app::v('checkallow', 'submit')) {
         foreach (control_systemBase::getMoneyArray() as $key => $val) {
             $baseInfo[$key] = $this->getInput[$key];
         }
開發者ID:knowsee,項目名稱:uoke_framework,代碼行數:10,代碼來源:admin.class.php


注:本文中的app::v方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。