output_add_rewrite_var_callback?
| From: | Jared Williams | Date: | Tue, 22 Mar 2005 18:07:30 +0000 |
| Subject: | output_add_rewrite_var_callback? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-15546@lists.php.net to get a copy of this message | ||
Hi,
Just wondered if a callback variant of output_add_rewrite_var() has ever been considered for
inclusion in PHP.
The callback prototype being of the form
rewrite_callback($href, $name) { return 'value'; }
output_add_rewrite_var_callback('foo', 'rewrite_callback');
possibly with the $href as a reference to allow complete replacement.
Jared