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->formatConf (' class="%s"', 'css_table');
return " \n\n<table$css>\n";
$css = $this->formatConf (' class="%s"', 'css_tr');
// is this a TH or TD cell?
$css = $this->formatConf (' class="%s"', 'css_th');
$css = $this->formatConf (' class="%s"', 'css_td');
$html .= " colspan=\"$span\"";
if ($attr != 'header' && $attr != '') {
$html .= " style=\"text-align: $attr;\"";
Documentation generated on Mon, 11 Mar 2019 14:22:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|