API Documentation

Service/DeveloperGarden/Response/BaseType.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  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
DeveloperGarden  
version
$Id: BaseType.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Service_DeveloperGarden_Response_BaseType

Extends from
\Zend_Service_DeveloperGarden_Response_ResponseAbstract
author
Marco Kaiser  
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Service  
subpackage
DeveloperGarden  

Properties

Propertypublicstring  $statusCode= 'null'

the status code

Default valuenullDetails
Type
string
Propertypublicstring  $statusMessage= 'null'

the status message

Default valuenullDetails
Type
string

Methods

methodpublicgetErrorCode( ) : string|null

returns the error code (statusCode)

Returns
Type Description
stringnull
methodpublicgetErrorMessage( ) : string

returns the error message

Returns
Type Description
string
methodpublicgetStatusCode( ) : string|null

returns the error code

Returns
Type Description
stringnull
methodpublicgetStatusMessage( ) : string

returns the error message

Returns
Type Description
string
methodpublichasError( ) : boolean

returns true if we have a error situation

Returns
Type Description
boolean
methodpublicisValid( ) : boolean

returns true if the errorCode is not null and not 0000

Returns
Type Description
boolean
Documentation was generated by DocBlox 0.13.3.