コード例 #1
0
ファイル: AccessServiceBar.php プロジェクト: Ethennoob/Web
 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;
 }
コード例 #2
0
 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;
 }