Lines Matching defs:array
52 * Properties of the JSON array
129 private array $htmlAttributes;
133 * @var array - the slots that needs this snippet (as key to get only one snippet by scope)
223 public static function getSnippets(): array
421 * This attribute is passed in the dokuwiki array
570 public function toJsonArray(): array
579 public static function createFromJson($array): Snippet
582 $uri = $array[self::JSON_URI_PROPERTY] ?? null;
584 throw new ExceptionCompile("The snippet uri property was not found in the json array");
590 $componentName = $array[self::JSON_COMPONENT_PROPERTY] ?? null;
595 $critical = $array[self::JSON_CRITICAL_PROPERTY] ?? null;
600 $async = $array[self::JSON_ASYNC_PROPERTY] ?? null;
605 $format = $array[self::JSON_FORMAT_PROPERTY] ?? null;
610 $content = $array[self::JSON_CONTENT_PROPERTY] ?? null;
615 $attributes = $array[self::JSON_HTML_ATTRIBUTES_PROPERTY] ?? null;
622 $integrity = $array[self::JSON_INTEGRITY_PROPERTY] ?? null;
627 $remoteUrl = $array[self::JSON_URL_PROPERTY] ?? null;
739 public function getHtmlAttributes(): array
775 public function jsonSerialize(): array
915 * @return array
921 public function toDokuWikiArray(): array
924 $array = $tagAttributes->toCallStackArray();
925 unset($array[TagAttributes::GENERATED_ID_KEY]);
926 return $array;