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


PHP Service::buildCall方法代码示例

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


在下文中一共展示了Service::buildCall方法的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::buildCall方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。