本文整理匯總了PHP中CI_Xmlrpc類的典型用法代碼示例。如果您正苦於以下問題:PHP CI_Xmlrpc類的具體用法?PHP CI_Xmlrpc怎麽用?PHP CI_Xmlrpc使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
在下文中一共展示了CI_Xmlrpc類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: CI_Xmlrpcs
function CI_Xmlrpcs($config = array())
{
parent::CI_Xmlrpc();
$this->set_system_methods();
if (isset($config['functions']) && is_array($config['functions'])) {
$this->methods = $config['functions'];
}
log_message('debug', "XML-RPC Server Class Initialized");
}
示例2: XML_RPC_Values
function XML_RPC_Values($val = -1, $type = '')
{
parent::CI_Xmlrpc();
if ($val != -1 || $type != '') {
$type = $type == '' ? 'string' : $type;
if ($this->xmlrpcTypes[$type] == 1) {
$this->addScalar($val, $type);
} elseif ($this->xmlrpcTypes[$type] == 2) {
$this->addArray($val);
} elseif ($this->xmlrpcTypes[$type] == 3) {
$this->addStruct($val);
}
}
}
示例3: __construct
/**
* Constructor
*/
public function __construct($config = array())
{
parent::__construct();
$this->set_system_methods();
if (isset($config['functions']) && is_array($config['functions'])) {
$this->methods = array_merge($this->methods, $config['functions']);
}
log_message('debug', "XML-RPC Server Class Initialized");
}
示例4:
/**
* Constructor
*/
function __construct($init = TRUE)
{
parent::__construct();
if ($init != TRUE) {
return;
}
// Make a local reference to the ExpressionEngine super object
$this->EE =& get_instance();
$this->EE_initialize();
}
示例5: __construct
public function __construct($val = -1, $type = '')
{
parent::__construct();
if ($val != -1 or $type != '') {
$type = $type == '' ? 'string' : $type;
if ($this->xmlrpcTypes[$type] == 1) {
$this->addScalar($val, $type);
} elseif ($this->xmlrpcTypes[$type] == 2) {
$this->addArray($val);
} elseif ($this->xmlrpcTypes[$type] == 3) {
$this->addStruct($val);
}
}
}