path_load

Versions
4.6 – 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/path.module
Menu callback; confirms deleting an URL alias
path_admin_edit in modules/path/path.module
Menu callback; handles pages for creating and editing URL aliases.

Code

modules/path/path.module, line 323

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.