splugin('ahref', 'http://example.com/index.html?this=this&that=that#something', 'Example Link', 'target="_blank"'); echo '' . $this->splugin('modify', $result, 'htmlentities nl2br') . '
'; echo "$result
"; ?>
splugin( 'ahref', parse_url('http://example.com/index.html?this=this&that=that#something'), 'Example Link', array('target' => "_blank") ); echo '' . $this->splugin('modify', $result, 'htmlentities nl2br') . '
'; echo "$result
"; ?>
set as $key => $val) { $result .= $this->splugin( 'checkbox', // plugin "xboxen[$key]", // checkbox name $key, // checkbox value 'key1', // pre-checked '', // default value when not checked 'dumb="dumber"' // attributes ); $result .= $val . "
\n"; } $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
plugin('cycle', array('a', 'b', 'c'), $i) ?>
plugin('cycle', 'lightdark', $i, 3) ?>
plugin('dateformat', "Aug 8, 1970") ?>
plugin('dateformat', "Aug 8, 1970", 'mydate') ?>
splugin('javascript', 'path/to/file.js')) ?>
splugin('image', 'savant.gif')) ?>plugin('image', 'savant.gif') ?>
splugin('image', 'savantx.gif', 'image does not exist')) ?>plugin('image', 'savantx.gif', 'image does not exist') ?>
splugin('image', 'http://phpsavant.com/etc/fester.jpg')) ?>plugin('image', 'http://phpsavant.com/etc/fester.jpg') ?>
splugin('options', $this->set, 'key1', 'dumb="dumber"'); $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
splugin('options', $this->set, 'val2', array('attrib' => 'this & that'), true); $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
splugin('radios', 'das_radio', $this->set, 'key1', 'nil', "
\n", 'dumb="dumber"'); $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
splugin('radios', 'das_radio', $this->set, 'val2', 'nil', "
\n", 'dumb="dumber"', true); $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
splugin('stylesheet', 'path/to/styles.css')) ?>
splugin('textarea', 'longtext', "some really long text"); $this->plugin('modify', $result, 'htmlentities nl2br'); ?>
_resource['plugin']) ?>