From 431afb8e87d66c37aa68784c8786a73f0d5c7299 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 2 Dec 2003 20:03:58 +0000 Subject: [PATCH] Document userspance/url_stat method git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145400 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/stream-wrapper-register.xml | 45 ++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/reference/stream/functions/stream-wrapper-register.xml b/reference/stream/functions/stream-wrapper-register.xml index 7e50566c2b..ae400422b6 100644 --- a/reference/stream/functions/stream-wrapper-register.xml +++ b/reference/stream/functions/stream-wrapper-register.xml @@ -1,5 +1,5 @@ - + stream_wrapper_register @@ -224,13 +224,10 @@ - booldir_opendir @@ -254,6 +250,43 @@ expected to explore. You can use parse_url to break it apart. + + flags holds additional flags set + by the streams API. It can hold one or more of the following + values OR'd together. + + + + + Flag + Description + + + + + STREAM_URL_STAT_LINK + + For resources with the ability to link to other resource + (such as an HTTP Location: forward, or a filesystem + symlink). This flag specified that only information + about the link itself should be returned. Not the + resource pointed to by the link. This flag is set in + response to calls to lstat, + is_link, or filetype. + + + + STREAM_URL_STAT_QUIET + If this flag is set, your wrapper should not raise any + errors. If this flag is not set, you are responsible for + reporting errors using the trigger_error + function during stating of the path. + + + + + + stringdir_readdir