diff --git a/reference/stream/constants.xml b/reference/stream/constants.xml new file mode 100644 index 0000000000..262a0496a4 --- /dev/null +++ b/reference/stream/constants.xml @@ -0,0 +1,83 @@ + + +
+ &reftitle.constants; + &extension.constants; + + + + + + Constant + Description + + + + + STREAM_FILTER_READ + + Used with stream_filter_append and + stream_filter_prepend to indicate + that the specified filter should only be applied when + reading + + + + STREAM_FILTER_WRITE + + Used with stream_filter_append and + stream_filter_prepend to indicate + that the specified filter should only be applied when + writting + + + + STREAM_FILTER_ALL + + This constant is equivalent to + STREAM_FILTER_READ | + STREAM_FILTER_WRITE + + + + STREAM_USE_PATH + Flag indicating if the stream + used the include path. + + + + STREAM_REPORT_ERRORS + Flag indicating if the wrapper + is responsible for raising errors using trigger_error + during opening of the stream. If this flag is not set, you + should not raise any errors. + + + + + + +
+ + + + diff --git a/reference/stream/reference.xml b/reference/stream/reference.xml index cb50571468..c090f0fc47 100644 --- a/reference/stream/reference.xml +++ b/reference/stream/reference.xml @@ -1,5 +1,5 @@ - + Stream functions Streams @@ -98,63 +98,7 @@ -
- &reftitle.constants; - - - - - - Constant - Description - - - - - STREAM_FILTER_READ - - Used with stream_filter_append and - stream_filter_prepend to indicate - that the specified filter should only be applied when - reading - - - - STREAM_FILTER_WRITE - - Used with stream_filter_append and - stream_filter_prepend to indicate - that the specified filter should only be applied when - writting - - - - STREAM_FILTER_ALL - - This constant is equivalent to - STREAM_FILTER_READ | - STREAM_FILTER_WRITE - - - - STREAM_USE_PATH - Flag indicating if the stream - used the include path. - - - - STREAM_REPORT_ERRORS - Flag indicating if the wrapper - is responsible for raising errors using trigger_error - during opening of the stream. If this flag is not set, you - should not raise any errors. - - - - - - -
+ &reference.stream.constants;
Stream Errors