Gossamer Forum
Quote Reply
Re: [TheStone] Hooks In reply to
According to TheStone in admin/Dbsql/Home.pm the hooks are formated as follows -
$COMPILE{subroutine_name} = <<'END_OF_SUB';
sub subroutine_name {
....
}
END_OF_SUB

which means the list we have all been waiting for should be -


home
view_file
download_file
signup_form
login_form
login
signup
log_off
add_form
add_record
add_success
add_multi_form
add_multi_records
add_multi_results
modify_search_form
modify_search_results
modify_form
modify_record
modify_success
modify_multi_records
modify_multi_results
delete_search_form
delete_search_results
delete_records
search_form
search_results
admin_form
admin_action
admin_inquire_user
admin_edit_user
admin_delete_user
admin_init_hash
admin_get_values
auth_logging
owner
error



In admin/Dbsql/Relation/Home.pm the format seems to be different -
$Dbsql::Home::COMPILE{subroutine_name} = <<'END_OF_SUB';
sub subroutine_name {
....
}
END_OF_SUB

and there are only 2 hooks -

qsearch_form
qsearch_results


I haven't tested all of the above hooks but maybe TheStone could confirm the list is correct.


Simon.
Subject Author Views Date
Thread Hooks jai 8073 Apr 11, 2002, 4:20 PM
Thread Re: [jai] Hooks
604 7966 Apr 11, 2002, 4:56 PM
Thread Re: [TheStone] Hooks
jai 7950 Apr 11, 2002, 10:14 PM
Thread Re: [jai] Hooks
jaspercram 7455 Nov 19, 2002, 2:23 AM
Thread Re: [jaspercram] Hooks
604 7448 Nov 19, 2002, 9:19 AM
Thread Re: [TheStone] Hooks
jai 7447 Nov 19, 2002, 4:17 PM
Post Re: [jai] Hooks
jai 6636 Mar 19, 2004, 3:49 PM
Post Re: [TheStone] Hooks
jaspercram 7406 Nov 20, 2002, 1:22 AM
Thread Re: [jai] Hooks
jaspercram 7623 Oct 14, 2002, 3:02 AM
Post Re: [jaspercram] Hooks
jaspercram 7576 Oct 29, 2002, 3:14 AM
Post Re: [jai] Hooks
jaspercram 7478 Nov 5, 2002, 2:27 AM