File: Zend_ProgressBar_Adapter_JsPull.xml

package info (click to toggle)
zendframework 1.12.9%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 133,584 kB
  • sloc: xml: 1,311,829; php: 570,173; sh: 170; makefile: 125; sql: 121
file content (36 lines) | stat: -rw-r--r-- 1,598 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect3 id="zend.progressbar.adapter.jspull">
    <title>Zend_ProgressBar_Adapter_JsPull</title>

    <para>
        <classname>Zend_ProgressBar_Adapter_JsPull</classname> is the opposite of jsPush,
        as it requires to pull for new updates, instead of pushing updates out
        to the browsers. Generally you should use the adapter with the
        persistence option of the <classname>Zend_ProgressBar</classname>. On notify,
        the adapter sends a <acronym>JSON</acronym> string to the browser, which looks exactly
        like the <acronym>JSON</acronym> string which is send by the jsPush adapter. The only
        difference is, that it contains an additional parameter,
        <property>finished</property>, which is either <constant>FALSE</constant> when
        <methodname>update()</methodname> is called or <constant>TRUE</constant>, when
        <methodname>finish()</methodname> is called.
    </para>

    <para>
        You can set the adapter options either via the <methodname>set*()</methodname> methods
        or give an array or a <classname>Zend_Config</classname> instance with options as first
        parameter to the constructor. The available options are:
    </para>

    <itemizedlist>
        <listitem>
            <para>
                <property>exitAfterSend</property>: Exits the current request after the
                data were send to the browser. Default is <constant>TRUE</constant>.
            </para>
        </listitem>
    </itemizedlist>
</sect3>
<!--
vim:se ts=4 sw=4 et:
-->