Lines Matching defs:ldJson
57 * @param array $ldJson
60 public static function addImage(array &$ldJson, MarkupPath $page)
124 $ldJson["image"] = $schemaImages;
168 $ldJson = $this->mergeWithDefaultValueAndGet();
169 if ($ldJson === null) {
176 return Json::createFromArray($ldJson)->toPrettyJsonString();
212 * The ldJson value
265 $ldJson = array(
279 $ldJson['potentialAction'] = array(
288 $ldJson['description'] = $tag;
292 $ldJson['image'] = $siteImageUrl;
303 $ldJson = array(
350 $ldJson = array(
359 $ldJson[self::DATE_PUBLISHED_KEY] = $page
372 $ldJson[self::DATE_MODIFIED_KEY] = $modifiedTime->format(Iso8601Date::getFormat());
392 $ldJson["publisher"] = $publisher;
394 self::addImage($ldJson, $page);
399 $ldJson = array(
404 $ldJson["name"] = $eventName;
417 $ldJson["description"] = $eventDescription;
424 $ldJson["startDate"] = $startDate->format(Iso8601Date::getFormat());
432 $ldJson["endDate"] = $endDate->format(Iso8601Date::getFormat());
435 self::addImage($ldJson, $page);
442 $ldJson = array(
467 $ldJson[self::SPEAKABLE] = array(
476 return array_merge($ldJson, $actualValue);
478 return $ldJson;