Home
last modified time | relevance | path

Searched refs:knownTypes (Results 1 – 11 of 11) sorted by path

/plugin/combo/ComboStrap/
H A DMime.php43 private static ?array $knownTypes; variable in ComboStrap\\Mime
179 if (self::$knownTypes === null) {
180 self::$knownTypes = getMimeTypes();
182 return array_search($this->mime, self::$knownTypes) !== false;
H A DPluginUtility.php234 public static function getTagAttributes(string $match, array $knownTypes = [], bool $allowFirstBooleanAttributesAsType = false): array argument
236 return self::getQualifiedTagAttributes($match, false, "", $knownTypes, $allowFirstBooleanAttributesAsType);
246 * @param array|null $knownTypes
250 public static function getQualifiedTagAttributes($match, $hasThirdValue, $keyThirdArgument, array $knownTypes = [], bool $allowFirstBooleanAttributesAsType = false): array argument
285 if (!empty($knownTypes) && in_array($possibleTypeLowercase, $knownTypes)) {
H A DTagAttributes.php265 private $knownTypes; variable in ComboStrap\\TagAttributes
307 * @param array $knownTypes - the known types
311 public static function createFromTagMatch($match, array $defaultAttributes = [], array $knownTypes = [], bool $allowFirstBooleanAttributesAsType = false): TagAttributes argument
313 $inlineHtmlAttributes = PluginUtility::getTagAttributes($match, $knownTypes, $allowFirstBooleanAttributesAsType);
317 ->setKnownTypes($knownTypes);
521 if ($isset === false && $this->knownTypes === null) {
1420 public function setKnownTypes(?array $knownTypes): TagAttributes argument
1422 $this->knownTypes = $knownTypes;
H A DXmlTagProcessing.php287 $knownTypes = [];
298 $knownTypes = [BlockquoteTag::TYPO_TYPE, BlockquoteTag::CARD_TYPE];;
307 $knownTypes = ButtonTag::TYPES;
329 $knownTypes = ContainerTag::CONTAINER_VALUES;
335 $knownTypes = GridTag::KNOWN_TYPES;
340 $knownTypes = HeadingTag::getAllTypes();
348 $knownTypes = NoteTag::KNOWN_TYPES;
362 $knownTypes = [PageExplorerTag::TYPE_TREE, PageExplorerTag::LIST_TYPE];
378 $knownTypes = [TabsTag::ENCLOSED_PILLS_TYPE, TabsTag::ENCLOSED_TABS_TYPE, TabsTag::PILLS_TYPE, TabsTag::TABS_TYPE];
385 $knownTypes
[all...]
/plugin/combo/syntax/
H A Dbadge.php119 $knownTypes = ["primary", "secondary", "success", "danger", "warning", "info", "tip", "light", "dark"];
120 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultConfValue, $knownTypes);
H A Dcell.php156 $knownTypes = [];
158 $attributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knownTypes)->toCallStackArray();
H A Ditext.php91 $knownTypes = [];
93 $attributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knownTypes);
H A Dtoggle.php108 $knownTypes = ButtonTag::TYPES;
109 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultParameters, $knownTypes)
H A Dtogglecollapse.php106 $knownTypes = [];
107 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultParameters, $knownTypes)
H A Dtoggleexpand.php106 $knownTypes = [];
107 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultParameters, $knownTypes)
H A Dwebcode.php162 $knownTypes = WebCodeTag::getKnownTypes();
163 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultAttributes, $knownTypes);