path_load

  1. drupal
    1. 4.7
    2. 5 path.module
    3. 6 path.module
    4. 7 path.inc
Versions
4.7 – 6 path_load($pid)
7 path_load($conditions)

Fetch a specific URL alias from the database.

▾ 2 functions call path_load()

path_admin_delete_confirm in modules/path.module
Menu callback; confirms deleting an URL alias
path_admin_edit in modules/path.module
Menu callback; handles pages for creating and editing URL aliases.

Code

modules/path.module, line 317

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