path.inc

  1. drupal
    1. drupal6
    2. drupal7

Version 1.19.2.7 (checked in on 2010/11/04 at 10:27:46 by goba)

Functions to handle paths in Drupal, including path aliasing.

These functions are not loaded for cached pages, but modules that need to use them in hook_init() or hook exit() can make them available, by executing "drupal_bootstrap(DRUPAL_BOOTSTRAP_PATH);".

Funktionen & Methoden

NameBeschreibung
argReturn a component of the current Drupal path.
drupal_get_normal_pathGiven a path alias, return the internal path it represents.
drupal_get_path_aliasGiven an internal Drupal path, return the alias set by the administrator.
drupal_get_titleGet the title of the current page, for display on the page and in the title bar.
drupal_init_pathInitialize the $_GET['q'] variable to the proper normal path.
drupal_is_front_pageCheck if the current page is the front page.
drupal_lookup_pathGiven an alias, return its Drupal system URL if one exists. Given a Drupal system URL return one of its aliases if such a one exists. Otherwise, return FALSE.
drupal_match_pathCheck if a path matches any pattern in a set of patterns.
drupal_set_titleSet the title of the current page, for display on the page and in the title bar.

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen