PHP Classes

Hooks: Register hook functions to become class functions

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 546 All time: 5,540 This week: 455Up
Version License PHP version Categories
hooks 1.0Artistic License5.0PHP 5, Language
Description 

Author

This class can register hook functions to become class functions.

It can register a global function or a function of another class so it becomes a new function of hook class object with a given name.

When applications call the function of that name, the registered hook function will be called.

Picture of Pashkov Denis Igorevich
  Performance   Level  
Name: Pashkov Denis Igorevich <contact>
Classes: 21 packages by
Country: Ukraine Ukraine
Age: 34
All time rank: 3068 in Ukraine Ukraine
Week rank: 170 Up3 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files (6)  
File Role Description
Plain text file class_example.php Example exmaple
Plain text file example1.php Example example
Plain text file example2.php Example example
Plain text file example3.php Example example
Plain text file hooks.php Class Main class
Plain text file joins_example.php Example example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:546
This week:0
All time:5,540
This week:455Up