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


PHP Service::getResultInXML方法代碼示例

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


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

示例1: getStats

 function getStats()
 {
     $this->setCall('http://' . $this->ini_main['LOG']['SERVER_LOG_PROC'] . '/' . $this->ini_main['LOG']['SERVER_LOG_PROC_PATH'] . '/scielologArticle.php');
     Service::callService(Service::buildCall());
     $xml[] = Service::getResultInXML();
     $XML_XSL = new XSL_XML();
     $result = new AccessServiceResult($XML_XSL->concatXML($xml));
     $requests = $result->getStats();
     return $requests;
 }
開發者ID:Ethennoob,項目名稱:Web,代碼行數:10,代碼來源:AccessServiceBar.php

示例2: getArticle

 function getArticle()
 {
     if ($this->getParam('pid')) {
         Service::callService(Service::buildCall());
         $result = new ArticleServicesResult(Service::getResultInXML());
         $article = $result->getArticle();
         $article->setPID($this->getParam('pid'));
         $article->setURL($this->dataDomain);
     } else {
         die("Missing call the method setParams of ArticleService");
     }
     return $article;
 }
開發者ID:robertatakenaka,項目名稱:Proceedings,代碼行數:13,代碼來源:ArticleServices.php

示例3: getStats

 function getStats()
 {
     //FIXME
     $array = $this->ini['collections'];
     foreach ($array as $name => $collection) {
         $this->setCall($this->ini['requests_server'][$name] . '/scielolog/scielologArticle.php');
         Service::callService(Service::buildCall());
         $xml[] = Service::getResultInXML();
     }
     $XML_XSL = new XSL_XML();
     $result = new AccessServiceResult($XML_XSL->concatXML($xml));
     $requests = $result->getStats();
     return $requests;
 }
開發者ID:robertatakenaka,項目名稱:Proceedings,代碼行數:14,代碼來源:AccessServiceBar.php

示例4: getArticles

 function getArticles()
 {
     $array = $this->ini['collections'];
     foreach ($array as $name => $collection) {
         $this->setCall($this->ini['trigrama_server'][$name] . '/cgi-bin/serx');
         $this->setParam('c', $this->ini['trigrama_parameter'][$name]);
         Service::callService(Service::buildCall());
         $xml[] = Service::getResultInXML();
     }
     $XML_XSL = new XSL_XML();
     $result = new TrigramaServiceResult($XML_XSL->concatXML($xml));
     $articles = $result->getArticles();
     return $articles;
 }
開發者ID:padlrosa,項目名稱:Regional-2,代碼行數:14,代碼來源:TrigramaService.php


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