PHP Classes

Simple Hooks Plugin: Setup and call application plug-in scripts

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
StarStarStarStar 61%Total: 1,041 All time: 3,545 This week: 660Up
Version License PHP version Categories
plugins 0.1GNU Lesser Genera...4.3Language
Description 

Author

This class can be used to setup and class application plug-ins in similar way to how it is done in Wordpress or vBulletin.

It can assign names to plug-in callback hooks.

The class can also load plug-in scripts and execute the scripts code when the application plug-in hooks are called.

Picture of Nemanja Avramovic
Name: Nemanja Avramovic <contact>
Classes: 9 packages by
Country: Serbia Serbia
Age: 37
All time rank: 2001 in Serbia Serbia
Week rank: 164 Up2 in Serbia Serbia Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (7)  
File Role Description
Files folder imageplugins (3 files, 1 directory)
Accessible without login Plain text file example.php Example Example of usage
Accessible without login Plain text file init.php Example Class initalization
Plain text file SHP.class.php Class Class itself

  Files folder image Files (7)  /  plugins  
File Role Description
Files folder imageplugin2 (1 file)
  Accessible without login Plain text file plugin1.plugin.php Appl. Plugin example
  Accessible without login Plain text file plugin3.php Appl. Plugin with bad file name
  Accessible without login Plain text file withargs.plugin.php Appl. Plugin file with function which accepts arguments

  Files folder image Files (7)  /  plugins  /  plugin2  
File Role Description
  Accessible without login Plain text file plugin2.plugin.php Appl. Plugin in subfolder

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:1,041
This week:0
All time:3,545
This week:660Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1066