web/lib/Zend/Service/DeveloperGarden/Response/VoiceButler/CallStatusResponse.php
changeset 64 162c1de6545a
parent 19 1c2f13fd785c
child 68 ecaf28ffe26e
equal deleted inserted replaced
63:5b37998e522e 64:162c1de6545a
       
     1 <?php
       
     2 /**
       
     3  * Zend Framework
       
     4  *
       
     5  * LICENSE
       
     6  *
       
     7  * This source file is subject to the new BSD license that is bundled
       
     8  * with this package in the file LICENSE.txt.
       
     9  * It is also available through the world-wide-web at this URL:
       
    10  * http://framework.zend.com/license/new-bsd
       
    11  * If you did not receive a copy of the license and are unable to
       
    12  * obtain it through the world-wide-web, please send an email
       
    13  * to license@zend.com so we can send you a copy immediately.
       
    14  *
       
    15  * @category   Zend
       
    16  * @package    Zend_Service
       
    17  * @subpackage DeveloperGarden
       
    18  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    19  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    20  * @version    $Id: CallStatusResponse.php 20166 2010-01-09 19:00:17Z bkarwin $
       
    21  */
       
    22 
       
    23 /**
       
    24  * @see Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
       
    25  */
       
    26 require_once 'Zend/Service/DeveloperGarden/Response/VoiceButler/VoiceButlerAbstract.php';
       
    27 
       
    28 /**
       
    29  * @category   Zend
       
    30  * @package    Zend_Service
       
    31  * @subpackage DeveloperGarden
       
    32  * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
       
    33  * @author     Marco Kaiser
       
    34  * @license    http://framework.zend.com/license/new-bsd     New BSD License
       
    35  */
       
    36 class Zend_Service_DeveloperGarden_Response_VoiceButler_CallStatusResponse
       
    37     extends Zend_Service_DeveloperGarden_Response_VoiceButler_VoiceButlerAbstract
       
    38 {
       
    39     /**
       
    40      * returns the session id
       
    41      * @return string
       
    42      */
       
    43     public function getSessionId()
       
    44     {
       
    45         if (isset($this->return->sessionId)) {
       
    46             return $this->return->sessionId;
       
    47         }
       
    48         return null;
       
    49     }
       
    50 
       
    51     /**
       
    52      * returns the connection time for participant a
       
    53      *
       
    54      * @return integer
       
    55      */
       
    56     public function getConnectionTimeA()
       
    57     {
       
    58         if (isset($this->return->connectiontimea)) {
       
    59             return $this->return->connectiontimea;
       
    60         }
       
    61         return null;
       
    62     }
       
    63 
       
    64     /**
       
    65      * returns the connection time for participant b
       
    66      *
       
    67      * @return integer
       
    68      */
       
    69     public function getConnectionTimeB()
       
    70     {
       
    71         if (isset($this->return->connectiontimeb)) {
       
    72             return $this->return->connectiontimeb;
       
    73         }
       
    74         return null;
       
    75     }
       
    76 
       
    77     /**
       
    78      * returns the description time for participant a
       
    79      *
       
    80      * @return string
       
    81      */
       
    82     public function getDescriptionA()
       
    83     {
       
    84         if (isset($this->return->descriptiona)) {
       
    85             return $this->return->descriptiona;
       
    86         }
       
    87         return null;
       
    88     }
       
    89 
       
    90     /**
       
    91      * returns the description time for participant b
       
    92      *
       
    93      * @return string
       
    94      */
       
    95     public function getDescriptionB()
       
    96     {
       
    97         if (isset($this->return->descriptionb)) {
       
    98             return $this->return->descriptionb;
       
    99         }
       
   100         return null;
       
   101     }
       
   102 
       
   103     /**
       
   104      * returns the reason time for participant a
       
   105      *
       
   106      * @return integer
       
   107      */
       
   108     public function getReasonA()
       
   109     {
       
   110         if (isset($this->return->reasona)) {
       
   111             return $this->return->reasona;
       
   112         }
       
   113         return null;
       
   114     }
       
   115 
       
   116     /**
       
   117      * returns the reason time for participant b
       
   118      *
       
   119      * @return integer
       
   120      */
       
   121     public function getReasonB()
       
   122     {
       
   123         if (isset($this->return->reasonb)) {
       
   124             return $this->return->reasonb;
       
   125         }
       
   126         return null;
       
   127     }
       
   128 
       
   129     /**
       
   130      * returns the state time for participant a
       
   131      *
       
   132      * @return string
       
   133      */
       
   134     public function getStateA()
       
   135     {
       
   136         if (isset($this->return->statea)) {
       
   137             return $this->return->statea;
       
   138         }
       
   139         return null;
       
   140     }
       
   141 
       
   142     /**
       
   143      * returns the state time for participant b
       
   144      *
       
   145      * @return string
       
   146      */
       
   147     public function getStateB()
       
   148     {
       
   149         if (isset($this->return->stateb)) {
       
   150             return $this->return->stateb;
       
   151         }
       
   152         return null;
       
   153     }
       
   154 }