From 344299805ce61d9832d0688e0f9aca39efad0fcf Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Wed, 22 Aug 2012 10:31:40 +0000 Subject: [PATCH] Renamed MibewAPIInteraction::getDefaultObligatoryArguments to MibewAPIinteraction::getObligatoryArgumentsDefaults --- src/messenger/webim/js/164/mibewapi.js | 4 ++-- src/messenger/webim/js/source/mibewapi.js | 4 ++-- src/messenger/webim/libs/classes/mibew_api.php | 2 +- src/messenger/webim/libs/classes/mibew_api_interaction.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/messenger/webim/js/164/mibewapi.js b/src/messenger/webim/js/164/mibewapi.js index f1ca4f6d..701c5150 100644 --- a/src/messenger/webim/js/164/mibewapi.js +++ b/src/messenger/webim/js/164/mibewapi.js @@ -11,10 +11,10 @@ e;a:for(e in a.arguments)for(c=0;cinteraction->getDefaultObligatoryArguments('result'); + $arguments = $result_arguments + $this->interaction->getObligatoryArgumentsDefaults('result'); $package = array( 'token' => $token, 'functions' => array( diff --git a/src/messenger/webim/libs/classes/mibew_api_interaction.php b/src/messenger/webim/libs/classes/mibew_api_interaction.php index 7688db98..4702b407 100644 --- a/src/messenger/webim/libs/classes/mibew_api_interaction.php +++ b/src/messenger/webim/libs/classes/mibew_api_interaction.php @@ -80,7 +80,7 @@ abstract class MibewAPIInteraction { * @return array Associative array with keys are obligatory arguments and values are default * values of them */ - public function getDefaultObligatoryArguments($function_name) { + public function getObligatoryArgumentsDefaults($function_name) { $obligatory_arguments = array(); // Add obligatory for all functions arguments if (! empty($this->obligatoryArguments['*'])) {