Source for file Table.php
Documentation is available at Table.php
class Text_Wiki_Render_Xhtml_Table extends Text_Wiki_Render {
* Renders a token into text matching the requested format.
* @param array $options The "options" portion of the token (second
* @return string The text rendered from the token options.
// make nice variable names (type, attr, span)
$css = $this->getConf ('css_table', '');
$css = " class=\"$css\"";
return " \n\n<table$css>\n";
$css = $this->getConf ('css_tr', '');
$css = " class=\"$css\"";
// is this a TH or TD cell?
$css = $this->getConf ('css_th', '');
$html .= " class=\"$css\"";
$css = $this->getConf ('css_td', '');
$html .= " class=\"$css\"";
$html .= " colspan=\"$span\"";
if ($attr != 'header' && $attr != '') {
$html .= " style=\"text-align: $attr;\"";
Documentation generated on Mon, 11 Mar 2019 13:51:55 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|