You are here

function path_load in Drupal 6

Same name and namespace in other branches
  1. 4 modules/path.module \path_load()
  2. 5 modules/path/path.module \path_load()
  3. 7 includes/path.inc \path_load()

Fetch a specific URL alias from the database.

2 calls to path_load()
path_admin_delete_confirm in modules/path/path.admin.inc
Menu callback; confirms deleting an URL alias
path_admin_edit in modules/path/path.admin.inc
Menu callback; handles pages for creating and editing URL aliases.

File

modules/path/path.module, line 264
Enables users to rename URLs.

Code

function path_load($pid) {
  return db_fetch_array(db_query('SELECT * FROM {url_alias} WHERE pid = %d', $pid));
}