PHP Class ApiError, googleads-php-lib

Author: Brian Edgerton
Inheritance: extends JError
Show file Open project: googleads/googleads-php-lib Class Usage Examples

Public Properties

Property Type Description
$ApiErrorType string
$errorString string
$fieldPath string
$trigger string
$type string

Public Methods

Method Description
__construct ( $fieldPath = null, $trigger = null, $errorString = null )
__construct ( $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )
__get ( $var ) : mixed Provided for getting non-php-standard named variables
__set ( $var, $value ) Provided for setting non-php-standard named variables
getNamespace ( ) : string Gets the namesapce of this class
getNamespace ( ) : the Gets the namesapce of this class
getXsiTypeName ( ) : string Gets the xsi:type name of this class
getXsiTypeName ( ) : the Gets the xsi:type name of this class

Protected Methods

Method Description
getParameterMap ( ) : array Provided for getting non-php-standard named variables

Method Details

__construct() public method

public __construct ( $fieldPath = null, $trigger = null, $errorString = null )

__construct() public method

public __construct ( $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )

__get() public method

Provided for getting non-php-standard named variables
public __get ( $var ) : mixed
$var Variable name to get
return mixed Variable value

__set() public method

Provided for setting non-php-standard named variables
public __set ( $var, $value )
$var Variable name to set
$value Value to set

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : string
return string the namespace of this class

getNamespace() public method

Gets the namesapce of this class
public getNamespace ( ) : the
return the namespace of this class

getParameterMap() protected method

Provided for getting non-php-standard named variables
protected getParameterMap ( ) : array
return array parameter map

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : string
return string the xsi:type name of this class

getXsiTypeName() public method

Gets the xsi:type name of this class
public getXsiTypeName ( ) : the
return the xsi:type name of this class

Property Details

$ApiErrorType public property

public string $ApiErrorType
return string

$errorString public property

public string $errorString
return string

$fieldPath public property

public string $fieldPath
return string

$trigger public property

public string $trigger
return string

$type public property

public string $type
return string