TwistPHP Documentation

getAll

File path: dist/twist/Core/Models/Hooks.model.php
Namespace: Twist\Core\Models
Extends:

getAllGet all the hooks, you can filter by package or leave blank for everything

Parameters

Name Type Description
[$strHook = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strHook null;

//Call the function getAll with the example vars
$resHooks = new \Twist\Core\Models\Hooks();
$resHooks -> getAll($strHook);