protected function MarkdownExtra::_doTable_makeAlignAttr in Markdown 7
* Make the align attribute in a table *
Parameters
string $alignname: * @return string
1 call to MarkdownExtra::_doTable_makeAlignAttr()
- MarkdownExtra::_doTable_callback in includes/
MarkdownExtra.php - * Calback for processing tables *
File
- includes/
MarkdownExtra.php, line 1171
Class
- MarkdownExtra
- Markdown Extra Parser Class
Namespace
MichelfCode
protected function _doTable_makeAlignAttr($alignname) {
if (empty($this->table_align_class_tmpl)) {
return " align=\"{$alignname}\"";
}
$classname = str_replace('%%', $alignname, $this->table_align_class_tmpl);
return " class=\"{$classname}\"";
}