6.0.0-beta1
7/6/25

[#3821] custom hook support for backend selection
Summary custom hook support for backend selection
Queue Passwd
Queue Version 3.0
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester srrafa (at) usc (dot) es
Created 04/24/2006 (7013 days ago)
Due
Updated 05/26/2006 (6981 days ago)
Assigned 05/03/2006 (7004 days ago)
Resolved 05/26/2006 (6981 days ago)
Milestone
Patch Yes

History
05/26/2006 09:04:27 AM Jan Schneider State ⇒ Rejected
 
05/26/2006 08:59:05 AM srrafa (at) usc (dot) es Comment #5 Reply to this comment
I guess that, as in ticket #3701, the same applies here.  I''ll move 
this functionality to backends.php
05/24/2006 06:00:24 AM Chuck Hagenbuch Comment #4
Taken from Horde DevelopersHorde Developers
State ⇒ Feedback
Reply to this comment
The patch to Passwd.php at least has some formatting issues. Also, I 
have the same question as for the Ingo ticket - why can't this just be 
done inside the backends.php file?
05/03/2006 03:08:02 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
 
05/03/2006 03:07:48 PM Jan Schneider State ⇒ Assigned
 
05/03/2006 03:07:31 PM Jan Schneider Deleted Original Message
 
05/03/2006 10:25:07 AM srrafa (at) usc (dot) es Comment #3
New Attachment: hooks.php.dist Download
Reply to this comment
An example for hooks.php.dist
05/03/2006 10:06:16 AM srrafa (at) usc (dot) es Comment #2
New Attachment: passwd.patch[1].tgz Download
Reply to this comment
Here's an updated version of the parch following the guidelines in 
ticket #3701.



The hook is renamed to _passwd_hook_backend_select



Note that this hook does not return the full structure of a backend 
like _ingo_hook_backend_select does. It returns the key in the array 
that leads to the backend structure.



I made it that way because main.php works on keys and I didn't want to 
make the patch too intrusive
04/24/2006 11:57:12 AM srrafa (at) usc (dot) es Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ custom hook support for backend selection
Queue ⇒ Passwd
New Attachment: passwd.patch.tgz
State ⇒ New
Reply to this comment
The attached file contains patches against passwd-h3-30



main.php.patch for main.php

conf.xml.patch for config/conf.xml

Passwd.php.patch for lib/Passwd.php



They add suport for one custom hook for backend Selection 
(_passwd_hook_selectBackendKey)

Saved Queries