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


PHP Context::getRequestVars方法代码示例

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


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

示例1: procLifepodAdminInsertLifepod

 /**
  * @brief lifepod 추가
  * lifepod_name은 mid의 값이 되고 나머지 모듈 공통 값을 받아서 저장을 하게 된다.
  **/
 function procLifepodAdminInsertLifepod($args = null)
 {
     // module 모듈의 model/controller 객체 생성
     $oModuleController =& getController('module');
     $oModuleModel =& getModel('module');
     // 모듈의 정보 설정
     $args = Context::getRequestVars();
     $args->module = 'lifepod';
     $args->mid = $args->lifepod_name;
     unset($args->lifepod_name);
     // module_srl이 넘어오면 원 모듈이 있는지 확인
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     // module_srl의 값에 따라 insert/update
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         $msg_code = 'success_updated';
     }
     // 결과값에 오류가 있을 경우 그대로 객체 리턴.
     if (!$output->toBool()) {
         return $output;
     }
     // 등록후 페이지 이동을 위해 변수 설정 및 메세지를 설정한다.
     $this->add('page', Context::get('page'));
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
 }
开发者ID:hottaro,项目名称:xpressengine,代码行数:38,代码来源:lifepod.admin.controller.php

示例2: procNmileageAdminInsertModInst

 /**
  * @brief 모듈 환경설정값 쓰기
  **/
 function procNmileageAdminInsertModInst()
 {
     // module 모듈의 model/controller 객체 생성
     $oModuleController = getController('module');
     $oModuleModel = getModel('module');
     // 게시판 모듈의 정보 설정
     $args = Context::getRequestVars();
     $args->module = 'nmileage';
     // module_srl이 넘어오면 원 모듈이 있는지 확인
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     // module_srl의 값에 따라 insert/update
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         $msg_code = 'success_updated';
     }
     if (!$output->toBool()) {
         return $output;
     }
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
     $returnUrl = getNotEncodedUrl('', 'module', Context::get('module'), 'act', 'dispNmileageAdminInsertModInst', 'module_srl', $this->get('module_srl'));
     $this->setRedirectUrl($returnUrl);
 }
开发者ID:bjrambo,项目名称:nurigo,代码行数:34,代码来源:nmileage.admin.controller.php

示例3: dispGgmailingRequest

 function dispGgmailingRequest()
 {
     $args = Context::getRequestVars();
     $oModuleModel =& getModel('module');
     $config = $oModuleModel->getModuleConfig('ggmailing');
     $this->config = $config;
     Context::set('config', $config);
     $dmn = getFullUrl('');
     $dmn = parse_url($dmn);
     $domain = substr($dmn['host'] . $dmn['path'], 0, -1);
     $domain = str_replace('www.', '', $domain);
     $ggmailing_serv_url = $config->ggmailing_serv_url;
     if ($config->ggmailing_ssl == 'N' || !$config->ggmailing_ssl) {
         $ggmailing_ssl = 'http://';
         $ggmailing_ssl_port = '';
     } elseif ($config->ggmailing_ssl == 'Y') {
         $ggmailing_ssl = 'https://';
         $ggmailing_ssl_port = ':' . $config->ggmailing_ssl_port;
     }
     $url = $ggmailing_ssl . $ggmailing_serv_url . $ggmailing_ssl_port . '/index.php';
     // 헤더, 공지, 전송완료값 모두 처리
     $post_data = array('act' => 'dispWwapimanagerRequest', 'authkey' => $config->ggmailing_authkey, 'mid' => 'auth_woorimail', 'domain' => $domain, 'type' => 'ggmailing', 'notice_mid' => $args->notice_mid, 'ggmailing_document_srl' => $args->ggmailing_document_srl, 'ggmailing_send_srl' => $args->ggmailing_send_srl);
     // 비동기
     $response = $this->curl_request_async($url, $post_data, $type = 'POST', $output = 'json');
     Context::set('args', $args);
     Context::set('response', $response);
     $this->setTemplateFile('request');
 }
开发者ID:ForPeople,项目名称:WooriAlim,代码行数:28,代码来源:ggmailing.view.php

示例4: procCympuserAdminModInsert

 function procCympuserAdminModInsert()
 {
     $oModuleController = getController('module');
     $oModuleModel = getModel('module');
     $args = Context::getRequestVars();
     $args->module = 'cympuser';
     // 모듈 정보 가져오기
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     // module_srl의 값에 따라 insert/update
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         $msg_code = 'success_updated';
     }
     if (!$output->toBool()) {
         return $output;
     }
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
 }
开发者ID:bjrambo,项目名称:nurigo,代码行数:27,代码来源:cympuser.admin.controller.php

示例5: procPageAdminInsert

 /**
  * @brief 페이지 추가
  **/
 function procPageAdminInsert()
 {
     // module 모듈의 model/controller 객체 생성
     $oModuleController =& getController('module');
     $oModuleModel =& getModel('module');
     // 게시판 모듈의 정보 설정
     $args = Context::getRequestVars();
     $args->module = 'page';
     $args->mid = $args->page_name;
     unset($args->page_name);
     // module_srl이 넘어오면 원 모듈이 있는지 확인
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     // module_srl의 값에 따라 insert/update
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         $msg_code = 'success_updated';
     }
     if (!$output->toBool()) {
         return $output;
     }
     $this->add("page", Context::get('page'));
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
 }
开发者ID:hottaro,项目名称:xpressengine,代码行数:35,代码来源:page.admin.controller.php

示例6: dispEposForm

 /**
  * @brief epay.getPaymentForm 에서 호출됨
  */
 function dispEposForm()
 {
     $oEpayController = getController('epay');
     $oNcartModel = getModel('ncart');
     $oModuleModel = getModel('module');
     $oEposModuleConfig = $oModuleModel->getModuleConfig('epos');
     $oEposModel = getModel('epos');
     // get products info using cartnos
     Context::set('plugin_srl', $this->module_info->module_srl);
     $review_args = Context::getRequestVars();
     $output = $oEpayController->reviewOrder();
     if (!$output->toBool()) {
         return $output;
     }
     Context::set('review_form', $output->review_form);
     //$cart_info = $output->cart_info;
     $transaction_srl = $output->transaction_srl;
     $order_srl = $output->order_srl;
     $cavalue = md5($this->module_info->storeid . $order_srl . $output->price . $this->module_info->cubkey);
     //Context::set('cart_info', $cart_info);
     Context::set('price', $output->price);
     Context::set('transaction_srl', $transaction_srl);
     Context::set('order_srl', $order_srl);
     Context::set('cavalue', $cavalue);
     $this->setTemplateFile('formdata');
 }
开发者ID:bjrambo,项目名称:nurigo,代码行数:29,代码来源:epos.view.php

示例7: procCashpayDoIt

 /**
  * @brief pay
  */
 function procCashpayDoIt()
 {
     $oEpayController = getController('epay');
     $vars = Context::getRequestVars();
     $output = $oEpayController->beforePayment($vars);
     if (!$output->toBool()) {
         return $output;
     }
     $obj = new stdClass();
     $obj->bank_name = $this->module_info->bank_name;
     $obj->account_number = $this->module_info->account_number;
     $obj->account_holder = $this->module_info->account_holder;
     $output = new Object();
     $output->add('transaction_srl', Context::get('transaction_srl'));
     $output->add('state', '1');
     // not completed
     $output->add('payment_method', 'BT');
     $output->add('payment_amount', Context::get('price'));
     $output->add('result_code', '0');
     $output->add('result_message', 'success');
     $output->add('pg_tid', $this->keygen());
     $output->add('vact_bankname', $obj->bank_name);
     $output->add('vact_num', $obj->account_number);
     $output->add('vact_name', $obj->account_holder);
     $output->add('vact_inputname', context::get('depositor_name'));
     // afterPayment will call an after trigger
     $output = $oEpayController->afterPayment($output);
     if (!$output->toBool()) {
         return $output;
     }
     $return_url = $output->get('return_url');
     if ($return_url) {
         $this->setRedirectUrl($return_url);
     }
 }
开发者ID:WEN2ER,项目名称:nurigo,代码行数:38,代码来源:cashpay.controller.php

示例8: procSocialxeAdminInsertConfig

 /**
  * @brief 설정
  **/
 function procSocialxeAdminInsertConfig()
 {
     // 기본 정보를 받음
     $args = Context::getRequestVars();
     if ($args->use_ssl != 'Y') {
         $args->use_ssl = 'N';
     }
     if ($args->use_short_url != 'Y') {
         $args->use_short_url = 'N';
     }
     // 사용할 서비스 설정
     $provider_list = $this->providerManager->getFullProviderList();
     foreach ($provider_list as $provider) {
         $tmp = 'select_service_' . $provider;
         if ($args->{$tmp} == 'Y') {
             $args->select_service[$provider] = 'Y';
         } else {
             $args->select_service[$provider] = 'N';
         }
         unset($args->{$tmp});
     }
     // module Controller 객체 생성하여 입력
     $oModuleController =& getController('module');
     // 사이트 정보에 따라 저장
     $module_info = Context::get('site_module_info');
     if ($module_info->site_srl) {
         $output = $oModuleController->insertModulePartConfig('socialxe', $module_info->site_srl, $args);
     } else {
         $output = $oModuleController->insertModuleConfig('socialxe', $args);
     }
     return $output;
 }
开发者ID:leehankyeol,项目名称:JaWeTip,代码行数:35,代码来源:socialxe.admin.controller.php

示例9: procInipaystandardAdminInsertModule

 /**
  * @brief insert Module
  **/
 function procInipaystandardAdminInsertModule()
 {
     $oModuleController = getController('module');
     $oModuleModel = getModel('module');
     $args = Context::getRequestVars();
     $args->module = 'inipaystandard';
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         if (!$output->toBool()) {
             return $output;
         }
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         if (!$output->toBool()) {
             return $output;
         }
         $msg_code = 'success_updated';
     }
     $returnUrl = getNotEncodedUrl('', 'module', 'admin', 'act', 'dispInipaystandardAdminInsertModule', 'module_srl', $output->get('module_srl'));
     $this->setRedirectUrl($returnUrl);
     $this->setMessage($msg_code);
 }
开发者ID:bjrambo,项目名称:nurigo,代码行数:32,代码来源:inipaystandard.admin.controller.php

示例10: procWikiAdminInsertWiki

 function procWikiAdminInsertWiki($args = null)
 {
     // module 모듈의 model/controller 객체 생성
     $oModuleController =& getController('module');
     $oModuleModel =& getModel('module');
     $args = Context::getRequestVars();
     $args->module = 'wiki';
     $args->mid = $args->wiki_name;
     if ($args->use_comment != 'N') {
         $args->use_comment = 'Y';
     }
     unset($args->wiki_name);
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             unset($args->module_srl);
         }
     }
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         $msg_code = 'success_updated';
     }
     if (!$output->toBool()) {
         return $output;
     }
     $this->add('page', Context::get('page'));
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
 }
开发者ID:hottaro,项目名称:xpressengine,代码行数:32,代码来源:wiki.admin.controller.php

示例11: procKcpAdminInsertModInst

 /**
  * @brief writes module instance configuration.
  */
 function procKcpAdminInsertModInst()
 {
     // get the instance of the model and controller of the module.
     $oModuleController = getController('module');
     $oModuleModel = getModel('module');
     // get all requested vars
     $args = Context::getRequestVars();
     // set module name
     $args->module = 'kcp';
     // check if the module instance already exists
     if ($args->module_srl) {
         $module_info = $oModuleModel->getModuleInfoByModuleSrl($args->module_srl);
         if ($module_info->module_srl != $args->module_srl) {
             // unset the module_srl to be reallocated if the module instance already exists
             unset($args->module_srl);
         }
     }
     $image_obj = Context::get('site_logo');
     // insert or update depending on the module_srl existence
     if (!$args->module_srl) {
         $output = $oModuleController->insertModule($args);
         if (!$output->toBool()) {
             return $output;
         }
         $msg_code = 'success_registed';
     } else {
         $output = $oModuleController->updateModule($args);
         if (!$output->toBool()) {
             return $output;
         }
         $msg_code = 'success_updated';
     }
     // make log directory
     $path = sprintf(_XE_PATH_ . "files/epay/kcp/log");
     if (!FileHandler::makeDir($path)) {
         return new Object(-1, 'could not create a directory');
     }
     $path = sprintf(_XE_PATH_ . "files/epay/kcp/%u", $output->get('module_srl'));
     if (!FileHandler::makeDir($path)) {
         return new Object(-1, 'could not create a directory');
     }
     $image_path = sprintf("files/epay/kcp/%u/", $output->get('module_srl'));
     // 정상적으로 업로드된 파일이 아니면 무시
     if ($image_obj['tmp_name'] && is_uploaded_file($image_obj['tmp_name']) && preg_match("/\\.(jpg|jpeg|gif)\$/i", $image_obj['name'])) {
         $filename = $image_path . $image_obj['name'];
         if (!move_uploaded_file($image_obj['tmp_name'], $filename)) {
             return new Object(-1, 'move_uploaded_file error');
         }
         $args->site_logo = $filename;
         $output = $oModuleController->updateModule($args);
         if (!$output->toBool()) {
             return $output;
         }
     }
     $this->add('module_srl', $output->get('module_srl'));
     $this->setMessage($msg_code);
     $returnUrl = getNotEncodedUrl('', 'module', Context::get('module'), 'act', 'dispKcpAdminInsertModInst', 'module_srl', $output->get('module_srl'));
     $this->setRedirectUrl($returnUrl);
 }
开发者ID:bjrambo,项目名称:nurigo,代码行数:62,代码来源:kcp.admin.controller.php

示例12: procWidgetStyleExtraImageUpload

 /**
  * @brief Upload widget styles
  */
 function procWidgetStyleExtraImageUpload()
 {
     $attribute = $this->arrangeWidgetVars($widget, Context::getRequestVars(), $vars);
     $this->setLayoutPath('./common/tpl');
     $this->setLayoutFile('default_layout.html');
     $this->setTemplatePath($this->module_path . 'tpl');
     $this->setTemplateFile("top_refresh.html");
 }
开发者ID:umjinsun12,项目名称:dngshin,代码行数:11,代码来源:widget.controller.php

示例13: procAdvanced_MailerAdminInsertConfig

 /**
  * Save the basic configuration.
  */
 public function procAdvanced_MailerAdminInsertConfig()
 {
     // Get and validate the new configuration.
     $vars = Context::getRequestVars();
     if (!$vars->sender_name) {
         return new Object(-1, 'msg_advanced_mailer_sender_name_is_empty');
     }
     if (!$vars->sender_email) {
         return new Object(-1, 'msg_advanced_mailer_sender_email_is_empty');
     }
     if (!Mail::isVaildMailAddress($vars->sender_email)) {
         return new Object(-1, 'msg_advanced_mailer_sender_email_is_invalid');
     }
     if ($vars->reply_to && !Mail::isVaildMailAddress($vars->reply_to)) {
         return new Object(-1, 'msg_advanced_mailer_reply_to_is_invalid');
     }
     // Validate the sending method.
     $sending_methods = Rhymix\Framework\Mail::getSupportedDrivers();
     $sending_method = $vars->sending_method;
     if (!array_key_exists($sending_method, $sending_methods)) {
         return new Object(-1, 'msg_advanced_mailer_sending_method_is_invalid');
     }
     // Validate the configuration for the selected sending method.
     $sending_method_config = array();
     foreach ($sending_methods[$sending_method]['required'] as $conf_name) {
         $conf_value = $vars->{$sending_method . '_' . $conf_name} ?: null;
         if (!$conf_value) {
             return new Object(-1, 'msg_advanced_mailer_smtp_host_is_invalid');
         }
         $sending_method_config[$conf_name] = $conf_value;
     }
     // Update the current module's configuration.
     $config = $this->getConfig();
     $config->sender_name = $vars->sender_name;
     $config->sender_email = $vars->sender_email;
     $config->reply_to = $vars->reply_to;
     $config->force_sender = toBool($vars->force_sender);
     $config->log_sent_mail = toBool($vars->log_sent_mail);
     $config->log_errors = toBool($vars->log_errors);
     $output = getController('module')->insertModuleConfig('advanced_mailer', $config);
     if ($output->toBool()) {
         $this->setMessage('success_registed');
     } else {
         return $output;
     }
     // Update the webmaster's name and email in the member module.
     getController('module')->updateModuleConfig('member', (object) array('webmaster_name' => $config->sender_name, 'webmaster_email' => $config->sender_email));
     // Update system configuration.
     Rhymix\Framework\Config::set("mail.type", $sending_method);
     Rhymix\Framework\Config::set("mail.{$sending_method}", $sending_method_config);
     Rhymix\Framework\Config::save();
     if (Context::get('success_return_url')) {
         $this->setRedirectUrl(Context::get('success_return_url'));
     } else {
         $this->setRedirectUrl(getNotEncodedUrl('', 'module', 'admin', 'act', 'dispAdvanced_mailerAdminConfig'));
     }
 }
开发者ID:rhymix,项目名称:rhymix,代码行数:60,代码来源:advanced_mailer.admin.controller.php

示例14: procWikiInsertDocument

 function procWikiInsertDocument()
 {
     // 권한 체크
     if (!$this->grant->write_document) {
         return new Object(-1, 'msg_not_permitted');
     }
     $entry = Context::get('entry');
     // 글작성시 필요한 변수를 세팅
     $obj = Context::getRequestVars();
     $obj->module_srl = $this->module_srl;
     if ($this->module_info->use_comment != 'N') {
         $obj->allow_comment = 'Y';
     } else {
         $obj->allow_comment = 'N';
     }
     if (!$obj->nick_name) {
         $obj->nick_name = "anonymous";
     }
     if ($obj->is_notice != 'Y' || !$this->grant->manager) {
         $obj->is_notice = 'N';
     }
     settype($obj->title, "string");
     if ($obj->title == '') {
         $obj->title = cut_str(strip_tags($obj->content), 20, '...');
     }
     //그래도 없으면 Untitled
     if ($obj->title == '') {
         $obj->title = 'Untitled';
     }
     // document module의 model 객체 생성
     $oDocumentModel =& getModel('document');
     // document module의 controller 객체 생성
     $oDocumentController =& getController('document');
     // 이미 존재하는 글인지 체크
     $oDocument = $oDocumentModel->getDocument($obj->document_srl, $this->grant->manager);
     // 이미 존재하는 경우 수정
     if ($oDocument->isExists() && $oDocument->document_srl == $obj->document_srl) {
         $output = $oDocumentController->updateDocument($oDocument, $obj);
         $msg_code = 'success_updated';
         // 그렇지 않으면 신규 등록
     } else {
         $output = $oDocumentController->insertDocument($obj);
         $msg_code = 'success_registed';
         $obj->document_srl = $output->get('document_srl');
         $oDocumentController->insertAlias($obj->module_srl, $obj->document_srl, $obj->title);
     }
     // 오류 발생시 멈춤
     if (!$output->toBool()) {
         return $output;
     }
     // 결과를 리턴
     $this->add('mid', Context::get('mid'));
     $this->add('document_srl', $output->get('document_srl'));
     // 성공 메세지 등록
     $this->setMessage($msg_code);
 }
开发者ID:hottaro,项目名称:xpressengine,代码行数:56,代码来源:wiki.controller.php

示例15: getInstallFTPList

 function getInstallFTPList()
 {
     $ftp_info = Context::getRequestVars();
     if (!$ftp_info->ftp_user || !$ftp_info->ftp_password) {
         return new Object(-1, 'msg_ftp_invalid_auth_info');
     }
     $this->pwd = $ftp_info->ftp_root_path;
     if (!$ftp_info->ftp_host) {
         $ftp_info->ftp_host = "127.0.0.1";
     }
     if ($ftp_info->sftp == 'Y') {
         return $this->getSFTPList();
     }
     if (function_exists(ftp_connect)) {
         $connection = ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port);
         if (!$connection) {
             return new Object(-1, sprintf(Context::getLang('msg_ftp_not_connected'), $ftp_info->ftp_host));
         }
         $login_result = @ftp_login($connection, $ftp_info->ftp_user, $ftp_info->ftp_password);
         if (!$login_result) {
             ftp_close($connection);
             return new Object(-1, 'msg_ftp_invalid_auth_info');
         }
         if ($ftp_info->ftp_pasv != "N") {
             ftp_pasv($connection, true);
         }
         $_list = ftp_rawlist($connection, $this->pwd);
         ftp_close($connection);
     } else {
         require_once _XE_PATH_ . 'libs/ftp.class.php';
         $oFtp = new ftp();
         if ($oFtp->ftp_connect($ftp_info->ftp_host, $ftp_info->ftp_port)) {
             if ($oFtp->ftp_login($ftp_info->ftp_user, $ftp_info->ftp_password)) {
                 $_list = $oFtp->ftp_rawlist($this->pwd);
                 $oFtp->ftp_quit();
             } else {
                 $oFtp->ftp_quit();
                 return new Object(-1, 'msg_ftp_invalid_auth_info');
             }
         }
     }
     $list = array();
     if ($_list) {
         foreach ($_list as $k => $v) {
             $src = null;
             $src->data = $v;
             $res = Context::convertEncoding($src);
             $v = $res->data;
             if (strpos($v, 'd') === 0 || strpos($v, '<DIR>')) {
                 $list[] = substr(strrchr($v, ' '), 1) . '/';
             }
         }
     }
     $this->add('list', $list);
 }
开发者ID:relip,项目名称:xe-core,代码行数:55,代码来源:install.model.php


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