‪TYPO3CMS  9.5
TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface:
TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager TYPO3\CMS\Core\MetaTag\GenericMetaTagManager TYPO3\CMS\Core\MetaTag\EdgeMetaTagManager TYPO3\CMS\Core\MetaTag\Html5MetaTagManager TYPO3\CMS\Seo\MetaTag\OpenGraphMetaTagManager TYPO3\CMS\Seo\MetaTag\TwitterCardMetaTagManager

Public Member Functions

 addProperty (string $property, string $content, array $subProperties=[], bool $replace=false, string $type='')
 
array getProperty (string $property, string $type='')
 
bool canHandleProperty (string $property)
 
array getAllHandledProperties ()
 
string renderAllProperties ()
 
string renderProperty (string $property)
 
 removeProperty (string $property, string $type='')
 
 removeAllProperties ()
 

Detailed Description

Definition at line 19 of file MetaTagManagerInterface.php.

Member Function Documentation

◆ addProperty()

TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::addProperty ( string  $property,
string  $content,
array  $subProperties = [],
bool  $replace = false,
string  $type = '' 
)

Add a property

Parameters
string$property
string$content
array$subProperties
bool$replace
string$type

Implemented in TYPO3\CMS\Core\MetaTag\GenericMetaTagManager, and TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager.

◆ canHandleProperty()

bool TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::canHandleProperty ( string  $property)

Check if this manager can handle the given property

Parameters
string$property
Returns
‪bool

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.

◆ getAllHandledProperties()

array TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::getAllHandledProperties ( )

Returns an array with all properties that can be handled by the manager

Returns
‪array

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.

◆ getProperty()

array TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::getProperty ( string  $property,
string  $type = '' 
)

Get a specific property that is set before

Parameters
string$property
string$type
Returns
‪array

Implemented in TYPO3\CMS\Core\MetaTag\GenericMetaTagManager, and TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager.

◆ removeAllProperties()

TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::removeAllProperties ( )

Unset all properties of this MetaTagManager

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.

◆ removeProperty()

TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::removeProperty ( string  $property,
string  $type = '' 
)

Remove one property from the MetaTagManager If there are multiple occurrences of a property, they all will be removed

Parameters
string$property
string$type

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.

◆ renderAllProperties()

string TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::renderAllProperties ( )

Render all registered properties of this manager

Returns
‪string

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.

◆ renderProperty()

string TYPO3\CMS\Core\MetaTag\MetaTagManagerInterface::renderProperty ( string  $property)

Render a meta tag for a specific property

Parameters
string$property
Returns
‪string

Implemented in TYPO3\CMS\Core\MetaTag\AbstractMetaTagManager, and TYPO3\CMS\Core\MetaTag\GenericMetaTagManager.