本文整理汇总了PHP中getNotEncodedUrl函数的典型用法代码示例。如果您正苦于以下问题:PHP getNotEncodedUrl函数的具体用法?PHP getNotEncodedUrl怎么用?PHP getNotEncodedUrl使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了getNotEncodedUrl函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: procPollAdminDeleteChecked
/**
* @brief Delete the polls selected in the administrator's page
*/
function procPollAdminDeleteChecked()
{
// Display an error no post is selected
$cart = Context::get('cart');
if (is_array($cart)) {
$poll_srl_list = $cart;
} else {
$poll_srl_list = explode('|@|', $cart);
}
$poll_count = count($poll_srl_list);
if (!$poll_count) {
return $this->stop('msg_cart_is_null');
}
// Delete the post
for ($i = 0; $i < $poll_count; $i++) {
$poll_index_srl = trim($poll_srl_list[$i]);
if (!$poll_index_srl) {
continue;
}
$output = $this->deletePollTitle($poll_index_srl, true);
if (!$output->toBool()) {
return $output;
}
}
$this->setMessage(sprintf(lang('msg_checked_poll_is_deleted'), $poll_count));
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispPollAdminList');
$this->setRedirectUrl($returnUrl);
}
开发者ID:rhymix,项目名称:rhymix,代码行数:31,代码来源:poll.admin.controller.php
示例2: procAttendanceInsertAttendance
/**
* @brief 출석부 기록
**/
function procAttendanceInsertAttendance()
{
$today = zDate(date('YmdHis'), "Ymd");
if ($_SESSION['is_attended'] == $today) {
return new Object(-1, 'attend_already_checked');
}
/*attendance model 객체 생성*/
$oAttendanceController = getController('attendance');
$oAttendanceModel = getModel('attendance');
$obj = Context::getRequestVars();
$oModuleModel = getModel('module');
$config = $oModuleModel->getModuleConfig('attendance');
$ip_count = $oAttendanceModel->getDuplicateIpCount($today, $_SERVER['REMOTE_ADDR']);
if ($ip_count >= $config->allow_duplicaton_ip_count) {
return new Object(-1, 'attend_allow_duplicaton_ip_count');
}
//인사말 필터링('#'시작문자 '^'시작문자 필터링)
if (preg_match("/^\\#/", $obj->greetings)) {
return new Object(-1, 'attend_greetings_error');
}
$oAttendanceController->insertAttendance($obj->about_position, $obj->greetings);
$this->setMessage('att_success');
if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'mid', 'attendance');
header('location: ' . $returnUrl);
return;
}
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:31,代码来源:attendance.controller.php
示例3: triggerDisplay
function triggerDisplay()
{
//trigger display before();
if (strpos(Context::get('act'), "ispBoardAdmin") || strpos(Context::get('act'), "ispBoard_extendAdmin")) {
$core_ver = __XE_VERSION__ ? __XE_VERSION__ : __ZBXE_VERSION__;
$is_active = Context::get('act') == 'dispBoard_extendAdminBoardModify' ? true : false;
$url = getNotEncodedUrl('act', 'dispBoard_extendAdminBoardModify', 'selected_var_idx', '', 'type', '');
$text = "목록수정";
if ($core_ver >= 1.7) {
$active = $is_active ? "class='x_active'" : "";
$html = sprintf("<li %s><a href='%s'>%s</a></li>", $active, $url, $text);
$script = "jQuery(document).ready(function(\$){\$('.x_nav').append(\"{$html}\");});";
} else {
if ($core_ver >= 1.5) {
$active = $is_active ? "class='active'" : "";
$html = sprintf("<li %s><a href='%s'>%s</a></li>", $active, $url, $text);
$script = "jQuery(document).ready(function(\$){\$('.x .cnb ul').append(\"{$html}\");});";
} else {
if ($core_ver >= 1.4) {
$active = $is_active ? "class='on'" : "";
$html = sprintf("<li %s><a href='%s'>%s</a></li>", $active, $url, $text);
$script = "jQuery(document).ready(function(\$){\$('#xeAdmin .header4 .localNavigation').append(\"{$html}\");});";
} else {
$this->stop('지원하지 않는 버전입니다. board_extend 모듈을 제거해주시기 바랍니다.');
}
}
}
Context::addHtmlHeader("<script type='text/javascript'>{$script}</script>");
}
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:30,代码来源:board_extend.controller.php
示例4: dispSocialxeAdminBitly
function dispSocialxeAdminBitly()
{
// 설정 정보를 받아옴
Context::set('config', $this->config);
// bit.ly 설정이 되어 있지 않으면 환경설정으로 보낸다.
if (!$this->config->bitly_username || !$this->config->bitly_api_key) {
header('Location: ' . getNotEncodedUrl('act', 'dispSocialxeAdminConfig'));
return;
}
// 목록을 구하기 위한 옵션
$args->page = Context::get('page');
$args->title = Context::get('title');
$output = executeQueryArray('socialxe.getBitlyPageList', $args);
if (!$output->toBool()) {
return $output;
}
// 템플릿에 쓰기 위해서 comment_model::getTotalCommentList() 의 return object에 있는 값들을 세팅
Context::set('total_count', $output->total_count);
Context::set('total_page', $output->total_page);
Context::set('page', $output->page);
Context::set('bitly_list', $output->data);
Context::set('page_navigation', $output->page_navigation);
// 템플릿 파일 지정
$this->setTemplatePath($this->module_path . 'tpl');
$this->setTemplateFile('bitly_index');
}
开发者ID:leehankyeol,项目名称:JaWeTip,代码行数:26,代码来源:socialxe.admin.view.php
示例5: procCommunicationAdminInsertConfig
/**
* save configurations of the communication module
* @return void|Object (success : void, fail : Object)
*/
function procCommunicationAdminInsertConfig()
{
// get the default information
$args = Context::gets('skin', 'colorset', 'editor_skin', 'sel_editor_colorset', 'mskin', 'mcolorset', 'layout_srl', 'mlayout_srl', 'grant_write_default', 'grant_write_group');
$args->editor_colorset = $args->sel_editor_colorset;
unset($args->sel_editor_colorset);
if (!$args->skin) {
$args->skin = 'default';
}
if (!$args->colorset) {
$args->colorset = 'white';
}
if (!$args->editor_skin) {
$args->editor_skin = 'default';
}
if (!$args->mskin) {
$args->mskin = 'default';
}
if (!$args->layout_srl) {
$args->layout_srl = NULL;
}
$oCommunicationModel = getModel('communication');
$args->grant_write = $oCommunicationModel->getGrantArray($args->grant_write_default, $args->grant_write_group);
unset($args->grant_write_default);
unset($args->grant_write_group);
// create the module module Controller object
$oModuleController = getController('module');
$output = $oModuleController->insertModuleConfig('communication', $args);
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCommunicationAdminConfig');
return $this->setRedirectUrl($returnUrl, $output);
}
开发者ID:kimkucheol,项目名称:xe-core,代码行数:35,代码来源:communication.admin.controller.php
示例6: procSpamfilterAdminDeleteDeniedWord
/**
* @brief Delete the prohibited Word
**/
function procSpamfilterAdminDeleteDeniedWord()
{
$word = Context::get('word');
//$word = base64_decode(Context::get('word'));
$output = $this->deleteWord($word);
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispSpamfilterAdminSetting');
return $this->setRedirectUrl($returnUrl, $output);
}
开发者ID:relip,项目名称:xe-core,代码行数:11,代码来源:spamfilter.admin.controller.php
示例7: procRhclaimAdminInsertConfig
function procRhclaimAdminInsertConfig()
{
$vars = Context::getRequestVars();
$oModuleController = getController('module');
$oModuleController->updateModuleConfig('Rhclaim', $vars);
if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispRhclaimAdminConfig');
header('location: ' . $returnUrl);
return;
}
}
开发者ID:skullacy,项目名称:rhclaim,代码行数:11,代码来源:Rhclaim.admin.controller.php
示例8: procStore_searchAdminInsertConfig
/**
* Save Settings
*
* @return mixed
*/
function procStore_searchAdminInsertConfig()
{
// Get configurations (using module model object)
$oModuleModel =& getModel('module');
$config = $oModuleModel->getModuleConfig('store_search');
$args->skin = Context::get('skin');
$oModuleController =& getController('module');
$output = $oModuleController->insertModuleConfig('store_search', $args);
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispStore_searchAdminContent');
return $this->setRedirectUrl($returnUrl, $output);
}
开发者ID:seoeun,项目名称:xe-module-store_search,代码行数:16,代码来源:store_search.admin.controller.php
示例9: procCurrencyAdminConfig
/**
* @save config setting
*/
function procCurrencyAdminConfig()
{
$args = Context::getRequestVars();
$oModuleControll = getController('module');
$output = $oModuleControll->insertModuleConfig('currency', $args);
if (!$output->toBool()) {
return $output;
}
$this->setMessage('success_updated');
$returnUrl = getNotEncodedUrl('', 'module', Context::get('module'), 'act', 'dispCurrencyAdminContent');
$this->setRedirectUrl($returnUrl);
}
开发者ID:bjrambo,项目名称:nurigo,代码行数:15,代码来源:currency.admin.controller.php
示例10: procAuthenticationAdminDesignConfig
function procAuthenticationAdminDesignConfig()
{
$args = Context::getRequestVars();
$oModuleController = getController('module');
if (!$args->width) {
$args->width = NULL;
}
$output = $oModuleController->updateModuleConfig('authentication', $args);
$this->setMessage('success_saved');
$redirectUrl = getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAuthenticationAdminDesign');
$this->setRedirectUrl($redirectUrl);
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:12,代码来源:authentication.admin.controller.php
示例11: procInipaystandardAdminDeleteModule
/**
* @brief delete module
**/
function procInipaystandardAdminDeleteModule()
{
$module_srl = Context::get('module_srl');
$oModuleController = getController('module');
$output = $oModuleController->deleteModule($module_srl);
if (!$output->toBool()) {
return $output;
}
$this->setMessage('success_deleted');
$returnUrl = getNotEncodedUrl('', 'module', 'admin', 'act', 'dispInipaystandardAdminModuleList');
$this->setRedirectUrl($returnUrl);
}
开发者ID:bjrambo,项目名称:nurigo,代码行数:15,代码来源:inipaystandard.admin.controller.php
示例12: procLoginxeclientAdminInsertConfig
function procLoginxeclientAdminInsertConfig()
{
$oModuleController = getController('module');
$config = Context::getRequestVars();
if (substr($config->loginxe_server, -1) != '/') {
$config->def_url .= '/';
}
if (!isset($config->loginxe_provider)) {
$config->loginxe_provider = array('NONE');
}
$oModuleController->updateModuleConfig('loginxeclient', $config);
$this->setMessage('success_updated');
$this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispLoginxeclientAdminConfig'));
}
开发者ID:romitextile,项目名称:xe-module-loginxeclient,代码行数:14,代码来源:loginxeclient.admin.controller.php
示例13: procCympusadminAdminDeleteModInst
function procCympusadminAdminDeleteModInst()
{
$module_srl = Context::get('module_srl');
$oModuleController =& getController('module');
$output = $oModuleController->deleteModule($module_srl);
if (!$output->toBool()) {
return $output;
}
$this->add('module', 'cympus');
$this->add('page', Context::get('page'));
$this->setMessage('success_deleted');
$returnUrl = getNotEncodedUrl('', 'module', Context::get('module'), 'act', 'dispCympusadminAdminModInstList');
$this->setRedirectUrl($returnUrl);
}
开发者ID:WEN2ER,项目名称:nurigo,代码行数:14,代码来源:cympusadmin.admin.controller.php
示例14: procDgibiWrite
public function procDgibiWrite()
{
// 권한 체크
if (!$this->grant->write_document) {
return new Object(-1, 'msg_not_permitted');
}
// 결과 체크
if (!$output->toBool()) {
return $output;
}
// 성공 시 글 보기 화면으로 이동
$returnUrl = getNotEncodedUrl('', 'mid', $this->mid, 'document_srl', $output->get('document_srl'));
$this->setRedirectUrl($returnUrl);
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:14,代码来源:dgibi.controller.php
示例15: procCympuserAdminModDelete
function procCympuserAdminModDelete()
{
$oModuleController = getController('module');
$module_srl = Context::get('module_srl');
if (!$module_srl) {
return new Object(-1, 'module_srl 이 비었습니다.');
}
$output = $oModuleController->deleteModule($module_srl);
if (!$output->toBool()) {
return $output;
}
$redirectUrl = getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCympuserAdminList');
$this->setRedirectUrl($redirectUrl);
}
开发者ID:bjrambo,项目名称:nurigo,代码行数:14,代码来源:cympuser.admin.controller.php
示例16: procNstoreGuestLogin
function procNstoreGuestLogin()
{
$args = Context::getRequestVars();
if (!$args->order_srl) {
return new Object(-1, 'msg_input_order_number_password');
} else {
if (!$args->non_password) {
return new Object(-1, 'msg_input_order_number_password');
}
}
$args->non_password = base64_encode($args->non_password);
$obj->return_url = getNotEncodedUrl('', 'act', 'dispNstoreOrderDetail', 'order_srl', $args->order_srl, 'mid', Context::get('mid'), 'non_password', $args->non_password, 'module', Context::get('module'));
$this->setRedirectUrl($obj->return_url);
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:14,代码来源:nstore.controller.php
示例17: procMessageAdminInsertConfig
/**
* @brief Configuration
**/
function procMessageAdminInsertConfig()
{
// Get information
$args->skin = Context::get('skin');
// Create a module Controller object
$oModuleController =& getController('module');
$output = $oModuleController->insertModuleConfig('message', $args);
if (!$output->toBool()) {
return $output;
}
$this->setMessage('success_updated');
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispMessageAdminConfig');
$this->setRedirectUrl($returnUrl);
}
开发者ID:relip,项目名称:xe-core,代码行数:17,代码来源:message.admin.controller.php
示例18: procCympusadminAdminConfig
function procCympusadminAdminConfig()
{
$oModuleController = getController('module');
$obj = Context::getRequestVars();
$output = $oModuleController->updateModuleConfig('cympusadmin', $obj);
if (!$output->toBool()) {
return new Object(-1, 'ncenterlite_msg_setting_error');
}
$this->setMessage('success_updated');
if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCympusadminAdminConfig');
header('location: ' . $returnUrl);
return;
}
}
开发者ID:bjrambo,项目名称:nurigo,代码行数:15,代码来源:cympusadmin.admin.controller.php
示例19: procAndroidpushappAdminDelete
function procAndroidpushappAdminDelete()
{
$args = new stdClass();
$output = executeQuery('androidpushapp.deleteAll', $args);
if (!$output->toBool()) {
$oDB->rollback();
return $output;
}
$this->setMessage('모든 정보를 삭제하였습니다.');
if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAndroidpushappAdminList');
header('location: ' . $returnUrl);
return;
}
}
开发者ID:umjinsun12,项目名称:dngshin,代码行数:15,代码来源:androidpushapp.admin.controller.php
示例20: procSejin7940_nickAdminConfig
function procSejin7940_nickAdminConfig()
{
$config->use_change_nick = Context::get('use_change_nick');
$config->use_deny_nick = Context::get('use_deny_nick');
$config->change_nick_term = Context::get('change_nick_term');
$config->use_same_nick = Context::get('use_same_nick');
$oModuleController =& getController('module');
$oModuleController->insertModuleConfig('sejin7940_nick', $config);
if (!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispSejin7940_nickAdminConfig');
header('location:' . $returnUrl);
return;
} else {
return $output;
}
}
开发者ID:leehankyeol,项目名称:JaWeTip,代码行数:16,代码来源:sejin7940_nick.admin.controller.php
注:本文中的getNotEncodedUrl函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论