projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d9be326
)
#937508 by amateescu: document the return value of arg() better
author
Gábor Hojtsy
Wed, 3 Nov 2010 18:41:44 +0000 (18:41 +0000)
committer
Gábor Hojtsy
Wed, 3 Nov 2010 18:41:44 +0000 (18:41 +0000)
includes/path.inc
patch
|
blob
|
blame
|
history
diff --git
a/includes/path.inc
b/includes/path.inc
index
93c1fc5
..
eac6bde
100644
(file)
--- a/
includes/path.inc
+++ b/
includes/path.inc
@@
-157,7
+157,8
@@
function drupal_get_normal_path($path, $path_language = '') {
*
* @return
* The component specified by $index, or NULL if the specified component was
- * not found.
+ * not found. If called without arguments, it returns an array containing all
+ * the components of the current path.
*/
function arg($index = NULL, $path = NULL) {
static $arguments;