API Documentation

Service/DeveloperGarden/Response/ResponseAbstract.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: ResponseAbstract.php 20166 2010-01-09 19:00:17Z bkarwin $
Classes
Zend_Service_DeveloperGarden_Response_ResponseAbstract

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_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
$errorCode
$errorMessage
Methods
parse
getErrorCode
getErrorMessage
isValid
hasError

Description

Properties

$errorCode

string $errorCode = 'null'

errorCode

Details

$errorCode
string
visibility
public
default
null
final
false
static
false

$errorMessage

string $errorMessage = 'null'

errorMessage

Details

$errorMessage
string
visibility
public
default
null
final
false
static
false

Methods

getErrorCode

getErrorCode( ) : string|null

returns the error code

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

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 token data and throws exceptions

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