Hook

Hook
 点击下载

Build hooks into your code. The trigger or hook is called, looking for an implementation
For an example, after an execution, a registered event is a called like "finished POST" - then the call back, if it exists is called.

Inspired by drupal's hook mechanism.

TODO:
* make the hook callbacks more flexibile

 

转载请注明:代码家园 » Hook

评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)