protected function buildAppLinksMetaTags(&$tags) { // IOS $tags .= AppLinkIOSMetadataBuilder::buildAppLinksMetaTags($tags, sprintf("%s/%s", $this->getEntityPath(), $this->owner->ID)); // Android $tags .= AppLinkIAndroidMetadataBuilder::buildAppLinksMetaTags($tags, sprintf("%s/%s", $this->getEntityPath(), $this->owner->ID)); }
public function MetaTags() { $entity = $this->getSummitEntity(Controller::curr()->getRequest()); if (!is_null($entity)) { return $entity->MetaTags(); } $tags = parent::MetaTags(); // IOS $tags .= AppLinkIOSMetadataBuilder::buildAppLinksMetaTags($tags, "schedule"); // Android $tags .= AppLinkIAndroidMetadataBuilder::buildAppLinksMetaTags($tags, "schedule"); return $tags; }