PHP Classes

Hooks: Register hook functions to become class functions

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


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: 298 Up6 in Ukraine Ukraine Up
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,539
This week:455Up