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


PHP IXR_Server::__construct方法代码示例

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


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

示例1: RemoteAPI

 /**
  * Constructor. Register methods and run Server
  */
 function dokuwiki_xmlrpc_server()
 {
     $this->remote = new RemoteAPI();
     $this->remote->setDateTransformation(array($this, 'toDate'));
     $this->remote->setFileTransformation(array($this, 'toFile'));
     parent::__construct();
 }
开发者ID:kevinlovesing,项目名称:dokuwiki,代码行数:10,代码来源:xmlrpc.php

示例2: __construct

 /**
  * Constructor. Register methods and run Server
  */
 public function __construct()
 {
     $this->remote = new RemoteAPI();
     $this->remote->setDateTransformation(array($this, 'toDate'));
     $this->remote->setFileTransformation(array($this, 'toFile'));
     parent::__construct();
 }
开发者ID:splitbrain,项目名称:dokuwiki,代码行数:10,代码来源:xmlrpc.php

示例3: __construct

 /**
  * Constructor. Defines the API and starts the server
  *
  * In the constructor, the API for the server is defined
  * by placing method names inside the method array. These
  * methods must then be defined later in this class. See
  * the format of the method for clues on how to add more.
  */
 public function __construct()
 {
     $this->methods = array('jobs.getMachines' => 'this:jobs_getMachines', 'jobs.getAllPlugins' => 'this:jobs_getAllPlugins', 'jobs.getProfilePlugins' => 'this:jobs_getProfilePlugins', 'jobs.getProfileSettings' => 'this:jobs_getProfileSettings', 'jobs.getPendingProfileIds' => 'this:jobs_getPendingProfileIds', 'jobs.getStatus' => 'this:jobs_getStatus', 'jobs.getCancel' => 'this:jobs_getCancel', 'jobs.getCountRunning' => 'this:jobs_getCountRunning', 'jobs.getPluginsBySeverity' => 'this:jobs_getPluginsBySeverity', 'jobs.getPluginsByFamily' => 'this:jobs_getPluginsByFamily', 'jobs.getSpecialProfileItems' => 'this:jobs_getSpecialProfileItems', 'jobs.setResetCancel' => 'this:jobs_setResetCancel', 'jobs.setProgress' => 'this:jobs_setProgress', 'jobs.setStatus' => 'this:jobs_setStatus', 'jobs.setFinishedDate' => 'this:jobs_setFinishedDate', 'jobs.saveReport' => 'this:jobs_saveReport', 'jobs.emailResults' => 'this:jobs_emailResults', 'jobs.addExemption' => 'this:jobs_addExemption');
     parent::__construct($this->methods);
 }
开发者ID:TheProjecter,项目名称:nessquik,代码行数:13,代码来源:jobs.php

示例4:

 /**
  * Register service and construct helper
  */
 function __construct()
 {
     /** @var helper_plugin_blogtng_linkback tools */
     $this->tools = plugin_load('helper', 'blogtng_linkback');
     parent::__construct(array('pingback.ping' => 'this:ping'));
 }
开发者ID:stupid-beard,项目名称:plugin-blogtng,代码行数:9,代码来源:pingback.php

示例5: PingbackServer

 /**
  * Register service and construct helper
  */
 function PingbackServer()
 {
     $this->tools =& plugin_load('helper', 'blogtng_linkback');
     parent::__construct(array('pingback.ping' => 'this:ping'));
 }
开发者ID:stretchyboy,项目名称:plugin-blogtng,代码行数:8,代码来源:pingback.php


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