Detailed view of a page, which is probably more useful for debugging than anything else.
get_pagedata('HelloWorldPlugin') | |
_cached_html | transformedtext Object ( [_type] => pagetype_wikitext Object ( ) [_basepage] => HelloWorldPlugin [_content] => Array ( [0] => <div class="wikitext"><p class="tightenable top">A simple example plugin.</p> [1] => cached_plugininvocation Object ( [_pi] => <?plugin HelloWorld salutation="Hello," name="WikiUser" ?> [_tightenable] => 0 ) [2] => <p class="tightenable">From the source of this page:</p> <pre class="tightenable"> <?plugin HelloWorld salutation="Hello," name="WikiUser" ?></pre> <hr /> <p class="tightenable top"> [3] => cached_wikilink Object ( [_page] => PhpWiki ) [4] => 's plugin architecture allows you to add custom page elements to your wiki. All you have to do is extend (subclass) the WikiPlugin class and create your output via the run() method, dependend on the Wiki- or Request arguments,</p> <ul><li class="tightenable bottom">either with the predefined HTML classes to create valid XHTML,</li> <li class="tightenable top">or by using templates, which are easier customizable, but generally more a mess to use and easier to create invalid XHTML.</li> </ul> [5] => cached_plugininvocation Object ( [_pi] => <?plugin PhpHighlight /** * A simple demonstration WikiPlugin. * * Usage: * <?plugin HelloWorld?> * <?plugin HelloWorld * salutation="Greetings, " * name=Wikimeister * ? > * <?plugin HelloWorld salutation=Hi ? > * <?plugin HelloWorld name=WabiSabi ? > */ // Constants are defined before the class. if (!defined('THE_END')) define('THE_END', "!"); class WikiPlugin_HelloWorld extends WikiPlugin { // Five required functions in a WikiPlugin. function getName () { return _("HelloWorld"); } function getDescription () { return _("Simple Sample Plugin"); } function getVersion() { return preg_replace("/[Revision: $]/", '', "\$Revision: 1.3 $"); } // Establish default values for each of this plugin's arguments. function getDefaultArguments() { return array('salutation' => "Hello,", 'name' => "World"); } function run($dbi, $argstr, $request) { extract($this->getArgs($argstr, $request)); // Any text that is returned will not be further transformed, // so use html where necessary. $html = HTML::tt(fmt('%s: %s', $salutation, WikiLink($name, 'auto')), THE_END); return $html; } }; ?> [_tightenable] => 0 ) [6] => <p class="tightenable"><small> [7] => cached_wikilink Object ( [_page] => P ) [8] => cistelle incestsex incestverhalen familyincest [9] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060202100729/http://www.network54.com/index/56725 [_label] => inceste ) [10] => inceste</p> <p class="tightenable">teen sluts teen teen challenge teens in trouble [11] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060131190729/http://www.network54.com/index/56798 [_label] => exploited teens ) [12] => teen sex movies</p> <p class="tightenable">rough sex rough rape rude photos rough sex videos [13] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060708155018/http://www.bfu.bg/site/files/?cla6/raperough [_label] => rough sex teen ) [14] => rough anal</p> <p class="tightenable">spank lesbian caning dvd otk sex spanking [15] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060202093305/http://www.network54.com/index/56791 [_label] => spanking drawings ) [16] => caning girl</p> <p class="tightenable">ebony india ebony facials ebony india ebony pantyhose [17] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060206154446/http://www.network54.com/index/56708 [_label] => ebony asses ) [18] => ebony hardcore porn</p> <p class="tightenable">pissen piss ant pissen pee sites [19] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060708155215/http://www.bfu.bg/site/files/?cla6/pissingpee [_label] => pissing mpeg ) [20] => pee picture</p> <p class="tightenable">girls with big tits breasts tits boobs nipple piercing big puffy nipples [21] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060707153111/http://www.bfu.bg/site/files/?cla6/bobsnipples [_label] => evenflo nipples ) [22] => nipples breasts</p> <p class="tightenable">brutal rape com brutal sex torture brutal pics brutal porno [23] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060708155230/http://www.bfu.bg/site/files/?cla6/rapebrutal [_label] => fotos de sexo brutal ) [24] => penetracion brutal</p> <p class="tightenable">fetish personals female feet fetish schoolgirl fetish smother fetish [25] => cached_externallink Object ( [_url] => http://web.archive.org/web/20060202101946/http://www.network54.com/index/56712 [_label] => free tit fucking movie ) [26] => foot fetish pictures</p> <p class="tightenable bottom"></small></p> </div> ) ) |
hits | 729 |
get_versiondata('HelloWorldPlugin',4) | |
%content | A simple example plugin. <?plugin Hello ... |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1186725644 |
pagetype | wikitext |
get_versiondata('HelloWorldPlugin',3) | |
%content | A simple example plugin. <?plugin Hello ... |
_supplanted | 1186725644 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1184011329 |
pagetype | wikitext |
get_versiondata('HelloWorldPlugin',2) | |
%content | A simple example plugin. <?plugin Hello ... |
_supplanted | 1184011329 |
author | WikiWord |
author_id | WikiWord |
is_minor_edit | |
markup | 2 |
mtime | 1183051785 |
pagetype | wikitext |
get_versiondata('HelloWorldPlugin',1) | |
%content | A simple example plugin. <?plugin Hello ... |
_supplanted | 1183051785 |
author | The PhpWiki programming team |
author_id | The PhpWiki programming team |
is_minor_edit | |
markup | 2 |
mtime | 1082385959 |
pagetype | wikitext |