From f1f32c708103edee2a2fc62080352945fa3b14b7 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Sat, 4 Jan 2003 20:02:21 +0000 Subject: [PATCH] Last three files in initial documentation of streams reference git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110511 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/stream-context-create.xml | 44 ++++++++++++++ .../functions/stream-context-set-option.xml | 43 +++++++++++++ .../functions/stream-context-set-params.xml | 60 +++++++++++++++++++ 3 files changed, 147 insertions(+) create mode 100644 reference/stream/functions/stream-context-create.xml create mode 100644 reference/stream/functions/stream-context-set-option.xml create mode 100644 reference/stream/functions/stream-context-set-params.xml diff --git a/reference/stream/functions/stream-context-create.xml b/reference/stream/functions/stream-context-create.xml new file mode 100644 index 0000000000..0619b714d9 --- /dev/null +++ b/reference/stream/functions/stream-context-create.xml @@ -0,0 +1,44 @@ + + + + + stream_context_create + Create a streams context + + + Description + + resourcestream_context_create + arrayparams + + + Creates and returns a stream context with any parameters supplied in + params preset. + + + See Also: + stream_context_set_params + + + + + diff --git a/reference/stream/functions/stream-context-set-option.xml b/reference/stream/functions/stream-context-set-option.xml new file mode 100644 index 0000000000..1b18263e54 --- /dev/null +++ b/reference/stream/functions/stream-context-set-option.xml @@ -0,0 +1,43 @@ + + + + + stream_context_set_option + Sets an option for a stream/wrapper/context + + + Description + + boolstream_context_set_option + resourcecontext|stream + stringwrapper + stringoption + mixedvalue + + + Sets an option on the specified context. value + is set to option for wrapper + + + + + diff --git a/reference/stream/functions/stream-context-set-params.xml b/reference/stream/functions/stream-context-set-params.xml new file mode 100644 index 0000000000..8158fa4995 --- /dev/null +++ b/reference/stream/functions/stream-context-set-params.xml @@ -0,0 +1,60 @@ + + + + + stream_context_set_params + Set parameters for a stream/wrapper/context + + + Description + + boolstream_context_set_params + resourcestream|context + arrayparams + + + params should be an associative array of the structure: + $params['paramname'] = "paramvalue";. + + + Parameters + + + + Parameters + Purpose + + + + + notification + + Name of user-defined callback function to be called whenever a stream triggers a notification. + + + + +
+
+
+ +