Hashes::getVar

Usage

?string Hashes::getVar(string $hash_alias, string $hkey)

Description

Get value of a specific key within a hash

Parameters

Parameter Required Type Description
$hash_alias Yes string Alias of the hash to retrieve a value from, formatted as PACKAGE.ALIAS
$hkey Yes string Key name of the hash variable

Return Value

Value of the key of the hash, or null if it doesn't exist.

See Also