Mobi_Mtld_DA_Carrier_BucketType
in package
The types of bucket and their associated IDs. The IDs are important and should **NOT** be changed. The API relies on these IDs remaining the same.
Tags
Table of Contents
- IPV4_TREE = 3
- Bucket type
- PROPERTIES = 2
- Bucket type
- PROPERTY_NAMES = 0
- Bucket type
- PROPERTY_VALUES = 1
- Bucket type
- $ALL_TYPES : mixed
- List of bucket types.
- isValidId() : bool
- Check if id is a valid bucket type or not.
Constants
IPV4_TREE
Bucket type
public
mixed
IPV4_TREE
= 3
PROPERTIES
Bucket type
public
mixed
PROPERTIES
= 2
PROPERTY_NAMES
Bucket type
public
mixed
PROPERTY_NAMES
= 0
PROPERTY_VALUES
Bucket type
public
mixed
PROPERTY_VALUES
= 1
Properties
$ALL_TYPES
List of bucket types.
public
static mixed
$ALL_TYPES
= array(self::IPV4_TREE, self::PROPERTIES, self::PROPERTY_NAMES, self::PROPERTY_VALUES)
Methods
isValidId()
Check if id is a valid bucket type or not.
public
static isValidId(mixed $id) : bool
Parameters
- $id : mixed
Return values
bool —If id is a valid bucket type.