6.0.0-RC7
6/27/26

[#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 4/24/06 (7369 days ago)
Due
Updated 5/26/06 (7337 days ago)
Assigned 5/3/06 (7360 days ago)
Resolved 5/26/06 (7337 days ago)
Milestone
Patch Yes

History
279 Jan Schneider State ⇒ Rejected
 
58 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
246 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?
23 Jan Schneider Assigned to Horde DevelopersHorde Developers
 
483 Jan Schneider State ⇒ Assigned
 
313 Jan Schneider Deleted Original Message
 
710 srrafa (at) usc (dot) es Comment #3
New Attachment: hooks.php.dist Download
Reply to this comment
An example for hooks.php.dist
1610 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
1211 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