2012-08-22 14:01:22 +04:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* Copyright 2005-2013 the original author or authors.
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements Mibew Core - Mibew Chat Window interaction
|
|
|
|
*/
|
2013-01-15 15:01:17 +04:00
|
|
|
class MibewAPIChatInteraction extends MibewAPIInteraction {
|
2012-08-22 14:01:22 +04:00
|
|
|
/**
|
|
|
|
* Defines obligatory arguments and default values for them
|
|
|
|
* @var array
|
|
|
|
* @see MibewAPIInteraction::$obligatoryArgumnents
|
|
|
|
*/
|
|
|
|
protected $obligatoryArguments = array(
|
|
|
|
'*' => array(
|
2012-09-20 19:02:20 +04:00
|
|
|
'threadId' => null,
|
|
|
|
'token' => null,
|
2012-08-22 14:01:22 +04:00
|
|
|
'references' => array(),
|
|
|
|
'return' => array()
|
2012-09-04 17:44:52 +04:00
|
|
|
),
|
|
|
|
'result' => array(
|
|
|
|
'errorCode' => 0
|
2012-08-22 14:01:22 +04:00
|
|
|
)
|
|
|
|
);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reserved function's names
|
|
|
|
* @var array
|
|
|
|
* @see MibewAPIInteraction::$reservedFunctionNames
|
|
|
|
*/
|
|
|
|
public $reservedFunctionNames = array(
|
|
|
|
'result'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|