Module Hooks allow your modules to interact with specific parts of 68 Classifieds internal coding. Below is a list of each individual file and the hooks that are available in it. Keep in mind this is not a full list but should contain the majority of hooks. It is recommended to do a file search to find all the hooks.
Front end hooks
$template = $modules->call_hook('category', $cat['id']); if($template != '') { $class_tpl->assign('custom', $template); }
$modules->call_hook('contact', '');
$modules->call_hook('index', '');
$params=array ('username'=>$_POST['username'],'password'=>$_POST['password']); modules->call_hook('user_login_invalid', '$params');
$page = ( empty($_GET['page']) ) ? 1 : (int)$_GET['page']; $modules->call_hook('page', '$page');
$modules->call_hook('search_start', ''); $modules->call_hook('search_end', '');
$modules->call_hook('search_start', ''); $modules->call_hook('search_end', '');
$modules->call_hook('useraccountmodify_start', $userid);
$modules->call_hook('checkout_end', '');
$modules->call_hook('userindex', $userid);
$modules->call_hook('userjoin', '');
$modules->call_hook('userorders_view', $id); $modules->call_hook('userorders', $userid);
$modules->call_hook('view_listing', $view); $modules->call_hook('viewlisting_end', $listing_rs);
Administration hooks
$modules->call_hook('post_admin_init', '');
$modules->call_hook('add_page', ''); $modules->call_hook('edit_page', $pageID);
$modules->call_hook('admin_users_add', ''); $modules->call_hook('admin_users_modify', ''); $modules->call_hook('admin_users_view', '');
Includes directory hooks.
$modules->call_hook('start', '');