Package DE_EPAGES::Trigger::API::Table::Hook
interface for table Hook
@EXPORT_OK |
Functions
- DeleteHook
- ExistsHook
- ExistsHookByName
- GetAllInfoHooks
- GetAllPKeyHooks
- GetInfoHook
- GetInfoHookByName
- GetInfoHooksByName
- GetPKeyHookByName
- GetPKeyHooksByName
- InsertHook
- UpdateHook
DeleteHook
Deletes a(n) Hook.
Syntax |
DeleteHook($HookID); DeleteHook($hHook); # if $hHook includes HookID |
Input |
|
ExistsHook
Returns true if the Hook exists.
Syntax |
$exists = ExistsHook($HookID); |
Input |
|
Return |
|
ExistsHookByName
Returns true if a Hook by alternate key Name exists.
Syntax |
$HookID = ExistsHookByName($Name); |
Input |
|
Return |
|
GetAllInfoHooks
Returns all objects of Hook.
Syntax |
$ahHookIDs = GetAllInfoHooks(); |
Return |
|
GetAllPKeyHooks
Returns all Hook identifiers.
Syntax |
$aHookIDs = GetAllPKeyHooks(); |
Return |
|
GetInfoHook
Returns the Hook by identifier.
Syntax |
$hHook = GetInfoHook($HookID); |
Input |
|
Return |
|
GetInfoHookByName
Returns the object of Hook by alternate key Name.
Syntax |
$hHook = GetInfoHookByName($Name); |
Input |
|
Return |
|
GetInfoHooksByName
Returns objects of Hook by alternate key Name.
Syntax |
$ahHooks = GetInfoHooksByName($Name); |
Input |
|
Return |
|
GetPKeyHookByName
Returns primary key of Hook by alternate key Name.
Syntax |
$HookID = GetPKeyHookByName($Name); |
Input |
|
Return |
|
GetPKeyHooksByName
Returns primary keys of Hook by alternate key Name.
Syntax |
$aKeys = GetPKeyHooksByName($Name); |
Input |
|
Return |
|
InsertHook
Creates an entry of Hook.
Syntax |
$HookID = InsertHook($hHook); |
Input |
|
Return |
|
UpdateHook
Updates a(n) Hook if any element was changed.
Syntax |
UpdateHook($HookID, $hHook); UpdateHook($hHook); # if $hHook includes HookID |
Input |
|