当前位置: 首页>>代码示例>>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;未经允许,请勿转载。