Source for file Table.php
Documentation is available at Table.php
class Text_Wiki_Render_Doku_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)
switch ($options['type']) {
return $lastChar == '' ? '|' : $lastChar;
// is this a TH or TD cell?
if ($options['attr'] == 'header') {
switch($options['attr']) {
if ($options['span'] > 1 ) {
if ($options['attr'] == 'header') {
$output = ' '. str_pad('', $options['span'] - 1 , $char);
switch($options['attr']) {
Documentation generated on Mon, 11 Mar 2019 14:12:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|