本文整理汇总了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();
}
}
示例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);
}
}
示例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));
}
}
示例4: getFileInput
public function getFileInput($fileList = array())
{
return app::v('file', $fileList, array('addslashes'));
}
示例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];
}