Wiki: DebugInfo: PhpWeatherPlugin


Detailed view of a page, which is probably more useful for debugging than anything else.

Querying backend directly for 'PhpWeatherPlugin'

get_pagedata('PhpWeatherPlugin')
 _cached_html 
transformedtext Object
(
    [_type] => pagetype_wikitext Object
        (
        )

    [_basepage] => PhpWeatherPlugin
    [_content] => Array
        (
            [0] => <div class="wikitext"><h2>Synopsis</h2>
<p class="tightenable">The PhpWeatherPlugin is a 
            [1] => cached_wikilink Object
                (
                    [_page] => WikiPlugin
                )

            [2] =>  that uses 
            [3] => cached_wikilink Object
                (
                    [_page] => PhpWeather
                )

            [4] =>  to display
a block of text with the current weather for some airport in the
world. It looks like this:</p>

            [5] => cached_plugininvocation Object
                (
                    [_pi] => <?plugin PhpWeather menu=true ?>
                    [_tightenable] => 0
                )

            [6] => <h2>Plugin Arguments</h2>
<dl><dt class="tightenable bottom"><strong>menu</strong></dt>
<dd class="tightenable top">Set this to <tt>true</tt> to have the plugin generate a menu after the
report. The user will able to select a country from this menu, and
after that, an airport and a language. The default value is
<tt>false</tt>.</dd>
<dt class="tightenable bottom"><strong>icao</strong></dt>
<dd class="tightenable top"><p class="tightenable top bottom">Use this to pre-select a specific airport instead of using the
default one which is <tt>EKAH</tt>. If you want the user to be able
to change the station using the menu, then you have to use this as</p>
<pre class="tightenable top bottom">
&lt;?plugin PhpWeather menu=true icao||=EKYT ?&gt;</pre>
<p class="tightenable top bottom">so that the value can be overwritten when the user submits the
form. If you just use</p>
<pre class="tightenable top bottom">
&lt;?plugin PhpWeather menu=true icao=EKYT ?&gt;</pre>
<p class="tightenable top bottom">then nothing will happen when the user selects another station from
the list.</p>
</dd>
<dt class="tightenable bottom"><strong>cc</strong></dt>
<dd class="tightenable top"><p class="tightenable top bottom">Specify the country code. You can use this if you want pre-select a
different country than the one specified in the ICAO. So using</p>
<pre class="tightenable top bottom">
&lt;?plugin PhpWeather menu=true cc||=GB icao||=KTTS ?&gt;</pre>
<p class="tightenable top bottom">will show the current weather at the NASA Shuttle Facility, United
States (<tt>KTTS</tt>) and at the same time give the user a list of
stations in the United Kingdom. As the example shows, then you
should use <tt>cc||=XX</tt> when combining it with <strong>menu</strong> set to
<tt>true</tt>.</p>
</dd>
<dt class="tightenable bottom"><strong>language</strong></dt>
<dd class="tightenable top">The default language. When combining <strong>language</strong> with <strong>menu</strong> set
to <tt>true</tt> then remember to use the <code>language||=xx</code>
form.</dd>
<dt class="tightenable bottom"><strong>units</strong></dt>
<dd class="tightenable top bottom"><p class="tightenable top">You can specify the way the units are printed. The choice is between
having both metric and imperial units printed, or just one of
them. Setting <strong>units</strong> to <tt>both_metric</tt> will print the metric value
first and then the imperial value in parenthesis. Using
<tt>both_imperial</tt> instead will do the opposite.</p>
<p class="tightenable bottom">If you only need the metric or imperial units to be shown, then
setting <strong>units</strong> to <tt>only_metric</tt> or <tt>only_imperial</tt> will do just
that.</p>
</dd>
</dl>
<hr />
<p class="tightenable top">
            [7] => cached_wikilink Object
                (
                    [_page] => WikiPlugin
                )

            [8] => 
&lt;small&gt;
            [9] => cached_wikilink Object
                (
                    [_page] => P
                )

            [10] => 
teens in trouble nude teen teen pregnancy teen magazine 
            [11] => cached_externallink Object
                (
                    [_url] => http://xzteens.blogsource.com/
                    [_label] => teen gallery
                )

            [12] =>  tiny teen</p>
<p class="tightenable">wbcams gay webcams gay webcam webcam gays 
            [13] => cached_externallink Object
                (
                    [_url] => http://xzgay.blogsource.com/
                    [_label] => webcam gays
                )

            [14] =>  webcams gay</p>
<p class="tightenable">rough xxx rough sex dvd rough sex mpegs rude porn 
            [15] => cached_externallink Object
                (
                    [_url] => http://xzrough.blogsource.com/
                    [_label] => rude photographs
                )

            [16] =>  rude porn</p>
<p class="tightenable">fat girl pictures fat butts fat black ass fat people pictures 
            [17] => cached_externallink Object
                (
                    [_url] => http://xzfat.blogsource.com/
                    [_label] => fat xxx
                )

            [18] =>  fat tits</p>
<p class="tightenable">peeing wetting her panties pissing outdoor man pissing 
            [19] => cached_externallink Object
                (
                    [_url] => http://xzpee.blogsource.com/
                    [_label] => pissing outdoor
                )

            [20] =>  pissing jeans</p>
<p class="tightenable">mature webcams adult cams cams teens on webcams 
            [21] => cached_externallink Object
                (
                    [_url] => http://xzwebcams.blogsource.com/
                    [_label] => live teen webcam
                )

            [22] =>  live webcam adult</p>
<p class="tightenable">british singles denver singles singles sites ukraine singles 
            [23] => cached_externallink Object
                (
                    [_url] => http://xzsingles.blogsource.com/
                    [_label] => st petersburg singles
                )

            [24] =>  filipino singles</p>
<p class="tightenable">nude nipple big boobs and tits big boobs and tits my tits 
            [25] => cached_externallink Object
                (
                    [_url] => http://xznipples.blogsource.com/
                    [_label] => large tits
                )

            [26] =>  tits tgp</p>
<p class="tightenable">handjob mpg jerking cock cfnm nude penis stroking 
            [27] => cached_externallink Object
                (
                    [_url] => http://xzhandjob.blogsource.com/
                    [_label] => jerking guys
                )

            [28] =>  handjobs gay</p>
<p class="tightenable bottom">&lt;/small&gt;</p>
</div>

        )

    [_description] => Specify the country code. You can use this if you want pre-select a different country than the one specified in the ICAO. So using
)
 hits  762
get_versiondata('PhpWeatherPlugin',2)
 %content  !!! Synopsis The ~PhpWeatherPlugin is a ...
 author  WikiWord
 author_id  WikiWord
 is_minor_edit   
 markup  2
 mtime  1184327936
 pagetype  wikitext
get_versiondata('PhpWeatherPlugin',1)
 %content  !!! Synopsis The ~PhpWeatherPlugin is a ...
 _supplanted  1184327936
 author  The PhpWiki programming team
 author_id  The PhpWiki programming team
 is_minor_edit   
 markup  2
 mtime  1082385964
 pagetype  wikitext

Copyright © 2007 RobertMelton.com