-
Notifications
You must be signed in to change notification settings - Fork 50
/
contexts.xml
49 lines (46 loc) · 1.76 KB
/
contexts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: seros Status: ready -->
<chapter xml:id="stream.contexts" xmlns="http://docbook.org/ns/docbook">
<title>Contextos de Flujos</title>
<simpara>
Un <literal>contexto</literal> es un conjunto de <literal>parámetros</literal> y
<literal>opciones</literal> específicas de envolturas que modifican o mejoran el
comportamiento de un flujo. Los <literal>contextos</literal> se crean usando
<function>stream_context_create</function> y se pueden pasar a la mayoría
de las funciones de creación de flujos relacionados con sistemas de archivos (esto es, <function>fopen</function>,
<function>file</function>, <function>file_get_contents</function>, etc...).
</simpara>
<simpara>
Se pueden especificar <literal>opciones</literal> cuando se llama a
<function>stream_context_create</function>, o después, usando
<function>stream_context_set_option</function>.
Una lista de <literal>opciones</literal> específicas de envolturas se puede encontrar en el
capítulo <xref linkend="context" />.
</simpara>
<simpara>
Se pueden especificar <literal>parámetros</literal> para los
<literal>contextos</literal> usando la función
<function>stream_context_set_params</function>.
</simpara>
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->