Lines Matching refs:type
16 * The type of the heading tag
23 * The type of the title tag
165 LogUtility::msg("The heading type ($headingType) is unknown");
251 $type = $tagAttributes->getType();
256 if ($type === "0") {
258 $type = 'h' . self::DEFAULT_LEVEL_OUTLINE_CONTEXT;
260 $type = 'h' . self::DEFAULT_LEVEL_TITLE_CONTEXT;
278 if ($context !== self::TYPE_OUTLINE && $type === null) {
282 $type = "h$level";
284 if (in_array($type, self::DISPLAY_TYPES)) {
294 if (in_array($type, self::DISPLAY_TYPES_ONLY_BS_5)) {
296 LogUtility::msg("Bootstrap 4 does not support the type ($type). Switch to " . PluginUtility::getDocumentationHyperLink(Bootstrap::CANONICAL, "bootstrap 5") . " if you want to use it. The display type was set to `d4`", LogUtility::LVL_MSG_WARNING, self::CANONICAL);
308 if (in_array($type, self::HEADING_TYPES)) {
309 $tagAttributes->addClassName($type);
510 * Old title type
513 $type = $tagAttributes->getType();
514 if (is_numeric($type) && $type != 0) {
515 $level = $type;
517 $type = "d$level";
519 $type = "h$level";
521 $tagAttributes->setType($type);
524 * Still null, check the type
527 if (in_array($type, HeadingTag::getAllTypes())) {
528 $level = substr($type, 1);