function path_load

7.x path.inc path_load($conditions)
6.x path.module path_load($pid)

Fetch a specific URL alias from the database.

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

File

drupal-6.x/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));
}