public static function getTypeValuesHTML() { global $REX; $return = []; /** * prepare Opengraph from MetaInfo TypeValues */ if (self::$curArticle->getValue('art_open_graph_typevalues')) { $typeValues = explode("\n", self::$curArticle->getValue('art_open_graph_typevalues')); foreach ($typeValues as $typeValue) { $typeValue = explode('|', $typeValue); $return[] = '<meta property="' . trim($typeValue[0]) . '" content="' . trim($typeValue[1]) . '">'; } } return implode("\n\t", $return) . "\n\t"; }