Core Theme Components

MetaFactory

A factory for generating HtmlMeta objects.

Table of Contents

$instance  : mixed
getFacebookMeta()  : FacebookMeta
getPageMeta()  : PageMeta
getTwitterMeta()  : TwitterMeta
instance()  : MetaFactory
schemas()  : SchemaFactory

Properties

Methods

getFacebookMeta()

public getFacebookMeta([CorePost|null $post = null ][, string $publisherUrl = '' ][, string $section = '' ]) : FacebookMeta
Parameters
$post : CorePost|null = null
$publisherUrl : string = ''
$section : string = ''
Return values
FacebookMeta

getTwitterMeta()

public getTwitterMeta([CorePost|null $post = null ][, string $twitterHandle = '' ][, bool $useLargeImage = false ]) : TwitterMeta
Parameters
$post : CorePost|null = null
$twitterHandle : string = ''
$useLargeImage : bool = false
Return values
TwitterMeta

Search results