API Documentation

Service/DeveloperGarden/Response/BaseType.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
version
$Id: BaseType.php 20166 2010-01-09 19:00:17Z bkarwin $
Classes
Zend_Service_DeveloperGarden_Response_BaseType

Description

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.

Zend_Service_DeveloperGarden_Response_BaseType

Extends from
Zend_Service_DeveloperGarden_Response_ResponseAbstract
author
Marco Kaiser
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
Properties
$statusCode
$statusMessage
Methods
parse
getStatusCode
getStatusMessage
isValid
hasError
getErrorCode
getErrorMessage

Description

Properties

$statusCode

string $statusCode = 'null'

the status code

Details

$statusCode
string
visibility
public
default
null
final
false
static
false

$statusMessage

string $statusMessage = 'null'

the status message

Details

$statusMessage
string
visibility
public
default
null
final
false
static
false

Methods

getErrorCode

getErrorCode( ) : string|null

returns the error code (statusCode)

Output
string|null
Details
visibility
public
final
false
static
false

getErrorMessage

getErrorMessage( ) : string

returns the error message

Output
string
Details
visibility
public
final
false
static
false

getStatusCode

getStatusCode( ) : string|null

returns the error code

Output
string|null
Details
visibility
public
final
false
static
false

getStatusMessage

getStatusMessage( ) : string

returns the error message

Output
string
Details
visibility
public
final
false
static
false

hasError

hasError( ) : boolean

returns true if we have a error situation

Output
boolean
Details
visibility
public
final
false
static
false

isValid

isValid( ) : boolean

returns true if the errorCode is not null and not 0000

Output
boolean
Details
visibility
public
final
false
static
false

parse

parse( ) : Zend_Service_DeveloperGarden_Response_ResponseAbstract

parse the result

Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.