protected getTagName ( ) : string | ||
return | string | tag name of the bulleted list |
protected function getTagName()
{
switch ($this->getBulletStyle()) {
case TBulletStyle::Numbered:
case TBulletStyle::LowerAlpha:
case TBulletStyle::UpperAlpha:
case TBulletStyle::LowerRoman:
case TBulletStyle::UpperRoman:
return 'ol';
}
return 'ul';
}