Closed (fixed)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 May 2009 at 21:29 UTC
Updated:
11 Dec 2009 at 03:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
dave reidYou should be able to do:
Comment #2
mikeytown2 commentedpath_redirect_load() only returns the first value. Most of the time there is a loop on the db_fetch_object() operation correct? Example: actions_get_all_actions()
Looks like
if ($sort)is missing it's ending}as well.Comment #3
mikeytown2 commentedHere's how I would like that function to work.
Comment #4
dave reidAh I see now how you would want it used: #443736: Smarter boost_cache_expire(). Path Changes & Wildcard Support.
[Edit: Um, d'oh! You already linked to this in the original post. Sorry!]
Comment #5
dave reidI'd support a path_load_multiple_by_path() function. I'm getting rid of that stupid query load function. Now it's only path_redirect_load($rid) for menu loaders and things that know rids, and path_redirect_load_by_path($path, $language).
Comment #6
dave reidAs a part of #168877: Path-redirect as an option on the node form (add or edit) there is now a path_redirect_load_multiple_by_redirect() function available which is exactly what you're needing I think. Keep in mind APIs are not yet finalized as we're going through a lot of revision and updating before porting to Drupal 7.
Comment #7
mikeytown2 commentedThanks for doing it, I won't use this API right away then; but for the 7.x port of boost, I probably will from the get go.