Метод |
Описание |
|
encodeEmailAddress ( $emailAddress ) |
* --------------------------------------------------------------------------------
Encode an email address as ordinal values to obfuscate it to bots
-------------------------------------------------------------------------------- |
|
extractKeywords ( $text = null, $limit = 15, $withoutStopWords = true ) |
* --------------------------------------------------------------------------------
Extract the most important words from the passed in text via TextRank
-------------------------------------------------------------------------------- |
|
extractSummary ( $text = null, $limit = null, $withoutStopWords = true ) |
* --------------------------------------------------------------------------------
Extract a summary from the text, or if it's not long enough, just return the text
-------------------------------------------------------------------------------- |
|
extractTextFromMatrix ( $matrixBlocks ) |
* --------------------------------------------------------------------------------
Extract all of the text and rich text from the fields in MatrixBlockModels
-------------------------------------------------------------------------------- |
|
getFullyQualifiedUrl ( $url ) |
* --------------------------------------------------------------------------------
Get a fully qualified URL based on the siteUrl, if no scheme/host is present
-------------------------------------------------------------------------------- |
|
getIdentity ( $locale = null ) |
* --------------------------------------------------------------------------------
Get the identity record
-------------------------------------------------------------------------------- |
|
getLocalizedUrls ( ) |
* --------------------------------------------------------------------------------
Returns an array of localized URLs for the current request
-------------------------------------------------------------------------------- |
|
getPluginName ( ) |
* --------------------------------------------------------------------------------
Get the plugin name
-------------------------------------------------------------------------------- |
|
getSocial ( $locale = null ) |
* --------------------------------------------------------------------------------
Get the social record
-------------------------------------------------------------------------------- |
|
getTemplateMeta ( $templatePath = "", $locale = null ) |
* --------------------------------------------------------------------------------
Get the template meta for $templatePath
-------------------------------------------------------------------------------- |
|
humanFileSize ( $size ) |
* --------------------------------------------------------------------------------
Return a human-readable file size
-------------------------------------------------------------------------------- |
|
render ( $templatePath = "", $metaVars = null ) |
* --------------------------------------------------------------------------------
Render the SEOmatic template
-------------------------------------------------------------------------------- |
|
renderBreadcrumbs ( $elementId = null, $locale = null, $isPreview = false ) |
* --------------------------------------------------------------------------------
Render the Breadcrumbs JSON-LD
-------------------------------------------------------------------------------- |
|
renderDisplayPreview ( $templateName = "", $forTemplate = "", $elementId = null, $locale = null ) |
* --------------------------------------------------------------------------------
Render the SEOmatic display preview template
-------------------------------------------------------------------------------- |
|
renderGlobals ( $forTemplate = "", $elementId = null, $locale = null ) |
* --------------------------------------------------------------------------------
Render the SEOmatic globals for the preview
-------------------------------------------------------------------------------- |
|
renderGoogleAnalytics ( $elementId = null, $locale = null, $isPreview = false ) |
* --------------------------------------------------------------------------------
Render the Google Analytics
|