CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.
This commit is contained in:
parent
514777e8d2
commit
b11cbd8159
4546 changed files with 138 additions and 51 deletions
|
@ -0,0 +1,140 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: BaseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_BaseType
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
/**
|
||||
* the status code
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $statusCode = null;
|
||||
|
||||
/**
|
||||
* the status message
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $statusMessage = null;
|
||||
|
||||
/**
|
||||
* parse the result
|
||||
*
|
||||
* @throws Zend_Service_DeveloperGarden_Response_Exception
|
||||
* @return Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
if ($this->hasError()) {
|
||||
throw new Zend_Service_DeveloperGarden_Response_Exception(
|
||||
$this->getStatusMessage(),
|
||||
$this->getStatusCode()
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error code
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getStatusCode()
|
||||
{
|
||||
return $this->statusCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusMessage()
|
||||
{
|
||||
return $this->statusMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the errorCode is not null and not 0000
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
return ($this->statusCode === null
|
||||
|| $this->statusCode == '0000');
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if we have a error situation
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasError()
|
||||
{
|
||||
return ($this->statusCode !== null
|
||||
&& $this->statusCode != '0000');
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error code (statusCode)
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getErrorCode()
|
||||
{
|
||||
if (empty($this->errorCode)) {
|
||||
return $this->statusCode;
|
||||
} else {
|
||||
return $this->errorCode;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorMessage()
|
||||
{
|
||||
if (empty($this->errorMessage)) {
|
||||
return $this->statusMessage;
|
||||
} else {
|
||||
return $this->errorMessage;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ChangeQuotaPoolResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_BaseUserService_ChangeQuotaPoolResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetAccountBalanceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_BaseUserService_GetAccountBalanceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetQuotaInformationResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_BaseUserService_GetQuotaInformationResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
/**
|
||||
* System defined limit of quota points per day
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $maxQuota = null;
|
||||
|
||||
/**
|
||||
* User specific limit of quota points per day
|
||||
* cant be more than $maxQuota
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $maxUserQuota = null;
|
||||
|
||||
/**
|
||||
* Used quota points for the current day
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $quotaLevel = null;
|
||||
|
||||
/**
|
||||
* returns the quotaLevel
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getQuotaLevel()
|
||||
{
|
||||
return $this->quotaLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the maxUserQuota
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getMaxUserQuota()
|
||||
{
|
||||
return $this->maxUserQuota;
|
||||
}
|
||||
|
||||
/**
|
||||
* return the maxQuota
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getMaxQuota()
|
||||
{
|
||||
return $this->maxQuota;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: AddConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_AddConferenceTemplateParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_AddConferenceTemplateParticipantResponseType
|
||||
*/
|
||||
public $addConferenceTemplateParticipantResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: AddConferenceTemplateParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_AddConferenceTemplateParticipantResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the participant Id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* return the participant id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getParticipantId()
|
||||
{
|
||||
return $this->participantId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CCSResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CommitConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CommitConferenceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,75 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ConferenceCallAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* returns the response object or null
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getResponse()
|
||||
{
|
||||
$r = new ReflectionClass($this);
|
||||
foreach ($r->getProperties() as $p) {
|
||||
$name = $p->getName();
|
||||
if (strpos($name, 'Response') !== false) {
|
||||
return $p->getValue($this);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* parse the response data and throws exceptions
|
||||
*
|
||||
* @throws Zend_Service_DeveloperGarden_Response_Exception
|
||||
* @return mixed
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
$retVal = $this->getResponse();
|
||||
if ($retVal === null) {
|
||||
$this->statusCode = 9999;
|
||||
$this->statusMessage = 'Internal response property not found.';
|
||||
} else {
|
||||
$this->statusCode = $retVal->getStatusCode();
|
||||
$this->statusMessage = $retVal->getStatusMessage();
|
||||
}
|
||||
parent::parse();
|
||||
return $retVal;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceResponseType
|
||||
*/
|
||||
public $createConferenceResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the conference Id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* return the conference id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getConferenceId()
|
||||
{
|
||||
return $this->conferenceId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceTemplateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceTemplateResponseType
|
||||
*/
|
||||
public $createConferenceTemplateResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CreateConferenceTemplateResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_CreateConferenceTemplateResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the template Id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $templateId = null;
|
||||
|
||||
/**
|
||||
* return the template id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTemplateId()
|
||||
{
|
||||
return $this->templateId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceListResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceListResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceListResponseType
|
||||
*/
|
||||
public $getConferenceListResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceListResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceListResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* array with conferences ids
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $conferenceIds = array();
|
||||
|
||||
/**
|
||||
* array with conference ids
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getConferenceIds()
|
||||
{
|
||||
return (array) $this->conferenceIds;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceStatusResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceStatusResponseType
|
||||
*/
|
||||
public $getConferenceStatusResponse = null;
|
||||
}
|
|
@ -0,0 +1,148 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceStatusResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceStatusResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* details
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* conference starttime
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
|
||||
*/
|
||||
public $schedule = null;
|
||||
|
||||
/**
|
||||
* the starttime as longint
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
public $startTime = null;
|
||||
|
||||
/**
|
||||
* array of Zend_Service_DeveloperGarden_ConferenceCall_Participant
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $participants = null;
|
||||
|
||||
/**
|
||||
* the account object
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceAccount
|
||||
*/
|
||||
public $acc = null;
|
||||
|
||||
/**
|
||||
* returns the details object
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public function getDetail()
|
||||
{
|
||||
return $this->detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the starttime
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getStartTime()
|
||||
{
|
||||
return $this->startTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the schedule object
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceSchedule
|
||||
*/
|
||||
public function getSchedule()
|
||||
{
|
||||
return $this->schedule;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns array with all participants
|
||||
* Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*
|
||||
* @return array of Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public function getParticipants()
|
||||
{
|
||||
if ($this->participants instanceof Zend_Service_DeveloperGarden_ConferenceCall_Participant) {
|
||||
$this->participants = array(
|
||||
$this->participants
|
||||
);
|
||||
}
|
||||
return $this->participants;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the participant object if found in the response
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public function getParticipantById($participantId)
|
||||
{
|
||||
$participants = $this->getParticipants();
|
||||
if ($participants !== null) {
|
||||
foreach ($participants as $participant) {
|
||||
if (strcmp($participant->getParticipantId(), $participantId) == 0) {
|
||||
return $participant;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the conference account details
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceAccount
|
||||
*/
|
||||
public function getAccount()
|
||||
{
|
||||
return $this->acc;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateListResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateListResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateListResponseType
|
||||
*/
|
||||
public $getConferenceTemplateListResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateListResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateListResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* array with template ids
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $templateIds = array();
|
||||
|
||||
/**
|
||||
* array with template ids
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getTemplateIds()
|
||||
{
|
||||
return (array)$this->templateIds;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateParticipantResponseType
|
||||
*/
|
||||
public $getConferenceTemplateParticipantResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateParticipantResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the participant
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_Participant
|
||||
*/
|
||||
public $participant = null;
|
||||
|
||||
/**
|
||||
* returns the participant details
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public function getParticipant()
|
||||
{
|
||||
return $this->participant;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateResponseType
|
||||
*/
|
||||
public $getConferenceTemplateResponse = null;
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetConferenceTemplateResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetConferenceTemplateResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* details
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public $detail = null;
|
||||
|
||||
/**
|
||||
* array of Zend_Service_DeveloperGarden_ConferenceCall_Participant
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $participants = null;
|
||||
|
||||
/**
|
||||
* returns the details object
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_ConferenceDetail
|
||||
*/
|
||||
public function getDetail()
|
||||
{
|
||||
return $this->detail;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns array with all participants
|
||||
* Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*
|
||||
* @return array of Zend_Service_DeveloperGarden_ConferenceCall_ParticipantDetail
|
||||
*/
|
||||
public function getParticipants()
|
||||
{
|
||||
if ($this->participants instanceof Zend_Service_DeveloperGarden_ConferenceCall_Participant) {
|
||||
$this->participants = array(
|
||||
$this->participants
|
||||
);
|
||||
}
|
||||
return $this->participants;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the participant object if found in the response
|
||||
*
|
||||
* @param string $participantId
|
||||
* @return Zend_Service_DeveloperGarden_ConferenceCall_Participant
|
||||
*/
|
||||
public function getParticipantById($participantId)
|
||||
{
|
||||
$participants = $this->getParticipants();
|
||||
if ($participants !== null) {
|
||||
foreach ($participants as $participant) {
|
||||
if (strcmp($participant->getParticipantId(), $participantId) == 0) {
|
||||
return $participant;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetParticipantStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetParticipantStatusResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetParticipantStatusResponseType
|
||||
*/
|
||||
public $getParticipantStatusResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetParticipantStatusResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetParticipantStatusResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public $status = null;
|
||||
|
||||
/**
|
||||
* returns the status array
|
||||
* a array of
|
||||
* Zend_Service_DeveloperGarden_ConferenceCall_ParticipantStatus
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getStatus()
|
||||
{
|
||||
return $this->status;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetRunningConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetRunningConferenceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_GetRunningConferenceResponseType
|
||||
*/
|
||||
public $getRunningConferenceResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetRunningConferenceResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_GetRunningConferenceResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the conference Id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $conferenceId = null;
|
||||
|
||||
/**
|
||||
* return the conference id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getConferenceId()
|
||||
{
|
||||
return $this->conferenceId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,45 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NewParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_NewParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_NewParticipantResponseType
|
||||
*/
|
||||
public $newParticipantResponse = null;
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NewParticipantResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_NewParticipantResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* the participant Id
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $participantId = null;
|
||||
|
||||
/**
|
||||
* return the participant id
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getParticipantId()
|
||||
{
|
||||
return $this->participantId;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_RemoveConferenceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_RemoveConferenceTemplateParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_RemoveConferenceTemplateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RemoveParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_RemoveParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_UpdateConferenceResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceTemplateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_UpdateConferenceTemplateParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateConferenceTemplateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_UpdateConferenceTemplateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: UpdateParticipantResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ConferenceCall/ConferenceCallAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_ConferenceCall_UpdateParticipantResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ConferenceCall_ConferenceCallAbstract
|
||||
{
|
||||
/**
|
||||
* response data
|
||||
*
|
||||
* @codingStandardsIgnoreFile
|
||||
* @var Zend_Service_DeveloperGarden_Response_ConferenceCall_CCSResponseType
|
||||
*/
|
||||
public $CCSResponse = null;
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Zend_Service_DeveloperGarden_Exception
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Exception.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_Exception
|
||||
extends Zend_Service_DeveloperGarden_Exception
|
||||
{
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CityType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_CityType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $countryCode = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cityCode = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $cityName = null;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCountryCode()
|
||||
{
|
||||
return $this->countryCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCityCode()
|
||||
{
|
||||
return $this->cityCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCityName()
|
||||
{
|
||||
return $this->cityName;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,66 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GeoCoordinatesType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var float
|
||||
*/
|
||||
public $geoLatitude = null;
|
||||
|
||||
/**
|
||||
*
|
||||
* @var float
|
||||
*/
|
||||
public $geoLongitude = null;
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getLatitude()
|
||||
{
|
||||
return $this->geoLatitude;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getLongitude()
|
||||
{
|
||||
return $this->geoLongitude;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,141 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: IPAddressLocationType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* @var Zend_Service_DeveloperGarden_Response_IpLocation_RegionType
|
||||
*/
|
||||
public $isInRegion = null;
|
||||
|
||||
/**
|
||||
* @var Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType
|
||||
*/
|
||||
public $isInGeo = null;
|
||||
|
||||
/**
|
||||
* @var Zend_Service_DeveloperGarden_Response_IpLocation_CityType
|
||||
*/
|
||||
public $isInCity = null;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
public $ipType = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $ipAddress = null;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
public $radius = 0;
|
||||
|
||||
/**
|
||||
* @return Zend_Service_DeveloperGarden_Response_IpLocation_RegionType
|
||||
*/
|
||||
public function getRegion()
|
||||
{
|
||||
return $this->isInRegion;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType
|
||||
*/
|
||||
public function getGeoCoordinates()
|
||||
{
|
||||
return $this->isInGeo;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Zend_Service_DeveloperGarden_Response_IpLocation_CityType
|
||||
*/
|
||||
public function getCity()
|
||||
{
|
||||
return $this->isInCity;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return integer
|
||||
*/
|
||||
public function getIpType()
|
||||
{
|
||||
return $this->ipType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getIpAddress()
|
||||
{
|
||||
return $this->ipAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return integer
|
||||
*/
|
||||
public function getRadius()
|
||||
{
|
||||
return $this->radius;
|
||||
}
|
||||
|
||||
/**
|
||||
* implement parsing
|
||||
*
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
parent::parse();
|
||||
if ($this->isInCity === null) {
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/CityType.php';
|
||||
$this->isInCity = new Zend_Service_DeveloperGarden_Response_IpLocation_CityType();
|
||||
}
|
||||
|
||||
if ($this->isInRegion === null) {
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/RegionType.php';
|
||||
$this->isInRegion = new Zend_Service_DeveloperGarden_Response_IpLocation_RegionType();
|
||||
}
|
||||
|
||||
if ($this->isInGeo === null) {
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/IpLocation/GeoCoordinatesType.php';
|
||||
$this->isInGeo = new Zend_Service_DeveloperGarden_Response_IpLocation_GeoCoordinatesType();
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,98 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: LocateIPResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* internal data object array of
|
||||
* elements
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
public $ipAddressLocation = array();
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponseType $response
|
||||
*/
|
||||
public function __construct(
|
||||
Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponseType $response
|
||||
) {
|
||||
if ($response->ipAddressLocation instanceof Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType) {
|
||||
if (is_array($response->ipAddressLocation)) {
|
||||
foreach ($response->ipAddressLocation as $location) {
|
||||
$this->ipAddressLocation[] = $location;
|
||||
}
|
||||
|
||||
} else {
|
||||
$this->ipAddressLocation[] = $response->ipAddressLocation;
|
||||
}
|
||||
} elseif (is_array($response->ipAddressLocation)) {
|
||||
$this->ipAddressLocation = $response->ipAddressLocation;
|
||||
}
|
||||
|
||||
$this->errorCode = $response->getErrorCode();
|
||||
$this->errorMessage = $response->getErrorMessage();
|
||||
$this->statusCode = $response->getStatusCode();
|
||||
$this->statusMessage = $response->getStatusMessage();
|
||||
}
|
||||
|
||||
/**
|
||||
* implement own parsing mechanism to fix broken wsdl implementation
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
parent::parse();
|
||||
if (is_array($this->ipAddressLocation)) {
|
||||
foreach ($this->ipAddressLocation as $address) {
|
||||
$address->parse();
|
||||
}
|
||||
} elseif ($this->ipAddressLocation instanceof Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType) {
|
||||
$this->ipAddressLocation->parse();
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getIpAddressLocation()
|
||||
{
|
||||
return $this->ipAddressLocation;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: LocateIPResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_LocateIPResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* internal data object array of
|
||||
* elements
|
||||
*
|
||||
* @var array|Zend_Service_DeveloperGarden_Response_IpLocation_IPAddressLocationType
|
||||
*/
|
||||
public $ipAddressLocation = array();
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: RegionType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_IpLocation_RegionType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* country code
|
||||
* @var string
|
||||
*/
|
||||
public $countryCode = null;
|
||||
|
||||
/**
|
||||
* region code
|
||||
* @var string
|
||||
*/
|
||||
public $regionCode = null;
|
||||
|
||||
/**
|
||||
* region Name
|
||||
* @var string
|
||||
*/
|
||||
public $regionName = null;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCountryCode()
|
||||
{
|
||||
return $this->countryCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRegionCode()
|
||||
{
|
||||
return $this->regionCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getRegionName()
|
||||
{
|
||||
return $this->regionName;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,89 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: LocalSearchResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/LocalSearch/LocalSearchResponseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
*
|
||||
* @var Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType
|
||||
*/
|
||||
public $searchResult = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
*
|
||||
* @param Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType $response
|
||||
* @todo implement special result methods
|
||||
*/
|
||||
public function __construct(
|
||||
Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType $response
|
||||
) {
|
||||
$this->errorCode = $response->getErrorCode();
|
||||
$this->errorMessage = $response->getErrorMessage();
|
||||
$this->statusCode = $response->getStatusCode();
|
||||
$this->statusMessage = $response->getStatusMessage();
|
||||
$this->searchResult = $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the raw search result
|
||||
*
|
||||
* @return Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType
|
||||
*/
|
||||
public function getSearchResult()
|
||||
{
|
||||
return $this->searchResult;
|
||||
}
|
||||
|
||||
/**
|
||||
* overwrite hasError to not handle 0103 error (empty result)
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasError()
|
||||
{
|
||||
$result = parent::hasError();
|
||||
if (!$result && $this->statusCode == '0103') {
|
||||
$result = false;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: LocalSearchResponseType.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_LocalSearch_LocalSearchResponseType
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* contains the result object
|
||||
* @var mixed
|
||||
*/
|
||||
public $searchResult = null;
|
||||
}
|
|
@ -0,0 +1,111 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ResponseAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_Exception
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/Exception.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
/**
|
||||
* errorCode
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $errorCode = null;
|
||||
|
||||
/**
|
||||
* errorMessage
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $errorMessage = null;
|
||||
|
||||
/**
|
||||
* parse the token data and throws exceptions
|
||||
*
|
||||
* @throws Zend_Service_DeveloperGarden_Response_Exception
|
||||
* @return Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
if ($this->hasError()) {
|
||||
throw new Zend_Service_DeveloperGarden_Response_Exception(
|
||||
$this->getErrorMessage(),
|
||||
$this->getErrorCode()
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error code
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getErrorCode()
|
||||
{
|
||||
return $this->errorCode;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorMessage()
|
||||
{
|
||||
return $this->errorMessage;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the errorCode is not null and not 0000
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
return ($this->errorCode === null
|
||||
|| $this->errorCode == '0000');
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if we have a error situation
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasError()
|
||||
{
|
||||
return ($this->errorCode !== null
|
||||
&& $this->errorCode != '0000');
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Exception.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* Zend_Service_Response_Exception
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/Exception.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Exception
|
||||
extends Zend_Service_DeveloperGarden_Response_Exception
|
||||
{
|
||||
}
|
|
@ -0,0 +1,94 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetTokensResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SecurityTokenServer_GetTokensResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
implements Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
|
||||
{
|
||||
/**
|
||||
* the security token
|
||||
* @var Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
|
||||
*/
|
||||
public $securityToken = null;
|
||||
|
||||
/**
|
||||
* returns the security token
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTokenData()
|
||||
{
|
||||
return $this->getSecurityToken();
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the security token
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSecurityToken()
|
||||
{
|
||||
if (!$this->securityToken instanceof Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse) {
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Exception.php';
|
||||
throw new Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Exception(
|
||||
'No valid securityToken found.'
|
||||
);
|
||||
}
|
||||
return $this->securityToken->getTokenData();
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the stored token data is valid
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
/**
|
||||
* @todo implement the true token validation check
|
||||
*/
|
||||
if (isset($this->securityToken)
|
||||
&& !empty($this->securityToken->tokenData)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,40 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Interface.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
interface Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
|
||||
{
|
||||
/**
|
||||
* returns true if the stored token data is valid
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid();
|
||||
}
|
|
@ -0,0 +1,116 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SecurityTokenResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/SecurityTokenServer/Interface.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
implements Zend_Service_DeveloperGarden_Response_SecurityTokenServer_Interface
|
||||
{
|
||||
/**
|
||||
* the token format, should be saml20
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $tokenFormat = null;
|
||||
|
||||
/**
|
||||
* the token encoding, should be text/xml
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $tokenEncoding = null;
|
||||
|
||||
/**
|
||||
* the tokenData should be a valid Assertion value
|
||||
*
|
||||
* @var unknown_type
|
||||
*/
|
||||
public $tokenData = null;
|
||||
|
||||
/**
|
||||
* returns the tokenData
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTokenData()
|
||||
{
|
||||
if (empty($this->tokenData)) {
|
||||
require_once 'Zend/Services/DeveloperGarden/Response/Exception.php';
|
||||
throw new Zend_Service_DeveloperGarden_Response_Exception('No valid tokenData found.');
|
||||
}
|
||||
|
||||
return $this->tokenData;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the token format value
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTokenFormat()
|
||||
{
|
||||
return $this->tokenFormat;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the token encoding
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getTokenEncoding()
|
||||
{
|
||||
return $this->tokenEncoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the stored token data is valid
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
/**
|
||||
* @todo implement the true token validation check
|
||||
*/
|
||||
if (!empty($this->securityTokenData)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SendFlashSMSResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SendSms_SendFlashSMSResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
|
||||
{
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SendSMSResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/SendSms/SendSmsAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SendSms_SendSMSResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
|
||||
{
|
||||
}
|
|
@ -0,0 +1,119 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SendSmsAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Service_DeveloperGarden_Response_SendSms_SendSmsAbstract
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
/**
|
||||
* the return from the sms request
|
||||
*
|
||||
* @var stdClass
|
||||
*/
|
||||
public $return = null;
|
||||
|
||||
/**
|
||||
* parse the response data and throws exceptions
|
||||
*
|
||||
* @throws Zend_Service_DeveloperGarden_Response_Exception
|
||||
* @return Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
if ($this->hasError()) {
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/Exception.php';
|
||||
throw new Zend_Service_DeveloperGarden_Response_Exception(
|
||||
$this->getErrorMessage(),
|
||||
$this->getErrorCode()
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error code
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getErrorCode()
|
||||
{
|
||||
$retValue = null;
|
||||
if ($this->return instanceof stdClass) {
|
||||
$retValue = $this->return->status;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorMessage()
|
||||
{
|
||||
$retValue = null;
|
||||
if ($this->return instanceof stdClass) {
|
||||
$retValue = $this->return->description;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the errorCode is not null and not 0000
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
return ($this->return === null
|
||||
|| $this->return->status == '0000');
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if we have a error situation
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasError()
|
||||
{
|
||||
$retValue = false;
|
||||
if ($this->return instanceof stdClass
|
||||
&& $this->return->status != '0000'
|
||||
) {
|
||||
$retValue = true;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: GetValidatedNumbersResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SmsValidation_GetValidatedNumbersResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
/**
|
||||
* array of validated numbers
|
||||
*
|
||||
* @var array of Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber
|
||||
*/
|
||||
public $validatedNumbers = null;
|
||||
|
||||
/**
|
||||
* returns the internal array of validated numbers
|
||||
*
|
||||
* @return array of Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber
|
||||
*/
|
||||
public function getNumbers()
|
||||
{
|
||||
return (array) $this->validatedNumbers;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: InvalidateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SmsValidation_ValidateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: SendValidationKeywordResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SmsValidation_SendValidationKeywordResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ValidateResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_BaseType
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/BaseType.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SmsValidation_InvalidateResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_BaseType
|
||||
{
|
||||
}
|
|
@ -0,0 +1,64 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: ValidatedNumber.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_SmsValidation_ValidatedNumber
|
||||
{
|
||||
/**
|
||||
* the number
|
||||
* @var string
|
||||
*/
|
||||
public $number = null;
|
||||
|
||||
/**
|
||||
* is valid until this date
|
||||
* @var string
|
||||
*/
|
||||
public $validUntil = null;
|
||||
|
||||
/**
|
||||
* returns the number
|
||||
*
|
||||
* @return number
|
||||
*/
|
||||
public function getNumber()
|
||||
{
|
||||
return $this->number;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the valid until date
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getValidUntil()
|
||||
{
|
||||
return $this->validUntil;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,88 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CallStatus2Response.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatusResponse.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatus2Response
|
||||
extends Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
|
||||
{
|
||||
/**
|
||||
* returns the phone number of the second participant, who was called.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBe164()
|
||||
{
|
||||
return $this->getBNumber();
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the phone number of the second participant, who was called.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getBNumber()
|
||||
{
|
||||
if (isset($this->return->be164)) {
|
||||
return $this->return->be164;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Index of the phone number of the second participant (B), who was called. The value 0 means
|
||||
* the first B party phone number which was called, 1 means the second B party phone number
|
||||
* which was called etc.
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getBNumberIndex()
|
||||
{
|
||||
return $this->getBIndex();
|
||||
}
|
||||
|
||||
/**
|
||||
* Index of the phone number of the second participant (B), who was called. The value 0 means
|
||||
* the first B party phone number which was called, 1 means the second B party phone number
|
||||
* which was called etc.
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getBIndex()
|
||||
{
|
||||
if (isset($this->return->bindex)) {
|
||||
return $this->return->bindex;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,154 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: CallStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
{
|
||||
/**
|
||||
* returns the session id
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionId()
|
||||
{
|
||||
if (isset($this->return->sessionId)) {
|
||||
return $this->return->sessionId;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the connection time for participant a
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getConnectionTimeA()
|
||||
{
|
||||
if (isset($this->return->connectiontimea)) {
|
||||
return $this->return->connectiontimea;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the connection time for participant b
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getConnectionTimeB()
|
||||
{
|
||||
if (isset($this->return->connectiontimeb)) {
|
||||
return $this->return->connectiontimeb;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the description time for participant a
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescriptionA()
|
||||
{
|
||||
if (isset($this->return->descriptiona)) {
|
||||
return $this->return->descriptiona;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the description time for participant b
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getDescriptionB()
|
||||
{
|
||||
if (isset($this->return->descriptionb)) {
|
||||
return $this->return->descriptionb;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the reason time for participant a
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getReasonA()
|
||||
{
|
||||
if (isset($this->return->reasona)) {
|
||||
return $this->return->reasona;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the reason time for participant b
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function getReasonB()
|
||||
{
|
||||
if (isset($this->return->reasonb)) {
|
||||
return $this->return->reasonb;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the state time for participant a
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStateA()
|
||||
{
|
||||
if (isset($this->return->statea)) {
|
||||
return $this->return->statea;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the state time for participant b
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStateB()
|
||||
{
|
||||
if (isset($this->return->stateb)) {
|
||||
return $this->return->stateb;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,60 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NewCallResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
{
|
||||
/**
|
||||
* returns the session id
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionId()
|
||||
{
|
||||
if (isset($this->return->sessionId)) {
|
||||
return $this->return->sessionId;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* prints the session on casting to string
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->getSessionId();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: NewCallSequencedResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/NewCallResponse.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallSequencedResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_VoiceButler_NewCallResponse
|
||||
{
|
||||
}
|
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: TearDownCallResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Service_DeveloperGarden_Response_VoiceButler_TearDownCallResponse
|
||||
extends Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
{
|
||||
/**
|
||||
* returns the session id
|
||||
* @return string
|
||||
*/
|
||||
public function getSessionId()
|
||||
{
|
||||
if (isset($this->return->sessionId)) {
|
||||
return $this->return->sessionId;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,128 @@
|
|||
<?php
|
||||
/**
|
||||
* Zend Framework
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://framework.zend.com/license/new-bsd
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@zend.com so we can send you a copy immediately.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: VoiceButlerAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
require_once 'Zend/Service/DeveloperGarden/Response/ResponseAbstract.php';
|
||||
|
||||
/**
|
||||
* @category Zend
|
||||
* @package Zend_Service
|
||||
* @subpackage DeveloperGarden
|
||||
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @author Marco Kaiser
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
|
||||
extends Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
{
|
||||
/**
|
||||
* the return from the sms request
|
||||
*
|
||||
* @var stdClass
|
||||
*/
|
||||
public $return = null;
|
||||
|
||||
/**
|
||||
* returns the return object
|
||||
*
|
||||
* @return stdClass
|
||||
*/
|
||||
public function getReturn()
|
||||
{
|
||||
return $this->return;
|
||||
}
|
||||
|
||||
/**
|
||||
* parse the response data and throws exceptions
|
||||
*
|
||||
* @throws Zend_Service_DeveloperGarden_Response_Exception
|
||||
* @return Zend_Service_DeveloperGarden_Response_ResponseAbstract
|
||||
*/
|
||||
public function parse()
|
||||
{
|
||||
if ($this->hasError()) {
|
||||
throw new Zend_Service_DeveloperGarden_Response_Exception(
|
||||
$this->getErrorMessage(),
|
||||
$this->getErrorCode()
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error code
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getErrorCode()
|
||||
{
|
||||
$retValue = null;
|
||||
if ($this->return instanceof stdClass) {
|
||||
$retValue = $this->return->status;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the error message
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getErrorMessage()
|
||||
{
|
||||
$retValue = null;
|
||||
if ($this->return instanceof stdClass) {
|
||||
$retValue = $this->return->err_msg;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if the errorCode is not null and not 0000
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function isValid()
|
||||
{
|
||||
return ($this->return === null
|
||||
|| $this->return->status == '0000');
|
||||
}
|
||||
|
||||
/**
|
||||
* returns true if we have a error situation
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasError()
|
||||
{
|
||||
$retValue = false;
|
||||
if ($this->return instanceof stdClass
|
||||
&& $this->return->status != '0000'
|
||||
) {
|
||||
$retValue = true;
|
||||
}
|
||||
return $retValue;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue