Lib_Enum_WsdlType
extends Lib_Enum_GenericAbstract
in package
Table of Contents
- ENTERPRISE = 'enterprise'
- PARTNER = 'partner'
- $_values : array<string|int, mixed>
- getById() : mixed
- Get style by id.
- getValues() : array<string|int, mixed>
- validateId() : bool
- Validates id
- validateValue() : bool
- Validates value
Constants
ENTERPRISE
public
string
ENTERPRISE
= 'enterprise'
PARTNER
public
string
PARTNER
= 'partner'
Properties
$_values
protected
array<string|int, mixed>
$_values
= array('1' => Lib_Enum_WsdlType::PARTNER, '2' => Lib_Enum_WsdlType::ENTERPRISE)
Methods
getById()
Get style by id.
public
getById(int $id) : mixed
Parameters
- $id : int
Return values
mixed —or NULL on failure
getValues()
public
getValues() : array<string|int, mixed>
Return values
array<string|int, mixed> —validateId()
Validates id
public
validateId(mixed $id) : bool
Parameters
- $id : mixed
Return values
bool —validateValue()
Validates value
public
validateValue( $value) : bool