FyberSearch   
bolacesto.pt/forum/docs/hook_system.html - Site Info
Submit Your Site To Top Search Engines
Just $14.99!
Find Out Which Search Engines Have Included Your Site
Just $8.99!
Learn To Rank Higher In Search Results
Just $24.99!
Instantly Create Targeted Ads With No Setup Fees
.50+ Cents/mo
Advertise On 225+ Search Engines
Just $4.00/mo
 
Site Info

Use this tool to learn about websites, specifically the one you just entered.

If you find some aspect of it inappropriate it is not our fault.

If you are the owner of this website: yes we are a real search engine, we do have a real web crawler called FyberSpider and you can block it if you feel the urge.


Is It Cataloged?

We are in the process of updating this tool. Until we are done just use our search results to check the inclusion status of your site.

Visit this website or continue reading for info about this site saved by the FyberSearch web crawler FyberSpider.


Date & Time Cataloged

June 27th, 2008 at 11:22pm


Headers

Date: Sat, 28 Jun 2008 04:19:23 GMT
Server: Apache
Last-Modified: Mon, 07 Apr 2008 17:43:07
GMT
ETag: "1a94df7-5dbb-2160c0"
Accept-Ranges: bytes
Content-Length: 23995
Connection:
close
Content-Type: text/html


Page Title

phpBB3 • Hook System


Stripped Text Content

This is just a sample of the content found on this website. Please visit the website to read the entire page.


" Hook System This is an explanation of how to use the phpBB3 hook system. Skip Hook System Introduction Allow hooks in functions/methods Registering hooks Result returning Embedding your hook files/classes/methods Copyright and disclaimer 1. Introduction What is it? The hook system allows applicaton and mod developers to hook into phpBB's or their own functions. Pre-defined hookable phpBB3 functions In phpBB3 there are four functions you are able to hook into with your custom functions: phpbb_user_session_handler(); which is called within user::setup after the session and the user object is correctly initialized. append_sid($url, $params = false, $is_amp = true, $session_id = false); which is called for building urls (appending the session id) $template->display($handle, $include_once = true); which is called directly before outputting the (not-yet-compiled) template. exit_handler(); which is called at the very end of phpBB3's execution. There are also valid external constants you may want to use if you embed phpBB3 into your application: PHPBB_MSG_HANDLER (overwrite message handler) PHPBB_DB_NEW_LINK (overwrite new_link parameter for sql_connect) PHPBB_ROOT_PATH (overwrite $phpbb_root_path) PHPBB_ADMIN_PATH (overwrite $phpbb_admin_path) Back to Top 2. Allow hooks in functions/methods The following examples explain how phpBB3 utilize the in-build hook system. You will be more interested in registering your hooks, but showing you this may help you understand the system better along the way. First of all, this is how a function need to be layed out if you want to allow it to be hookable... function my_own_function($my_first_parameter, $my_second_parameter) { global $phpbb_hook; if ($phpbb_hook->call_hook(__FUNCTION__, $my_first_parameter, $my_second_parameter)) { if ($phpbb_hook->hook_return(__FUNCTION__)) { return $phpbb_hook->hook_return_result(__FUNCTION__); } } [YOUR CODE HERE] } Above, the call_hook function should always be mapping your function call"
....
read entire page


Image Links Found on this Site

http://bolacesto.pt/forum/docs/site_logo.gif



Links to Pages on Other Domain Names

Website Address     Anchor Text     Visit Site
http://opensource.org/licenses/gpl-license.php     gpl     Visit Site
http://www.phpbb.com/     phpbb group     Visit Site