TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Type\TypeInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Type\TypeInterface:
TYPO3\CMS\Core\Type\Enumeration TYPO3\CMS\Core\Type\File\FileInfo TYPO3\CMS\Backend\Toolbar\Enumeration\InformationStatus TYPO3\CMS\Core\DataHandling\TableColumnSubType TYPO3\CMS\Core\DataHandling\TableColumnType TYPO3\CMS\Core\Resource\DuplicationBehavior TYPO3\CMS\Core\Tests\Unit\Type\Fixture\Enumeration\CompleteEnumeration TYPO3\CMS\Core\Tests\Unit\Type\Fixture\Enumeration\DuplicateConstantValueEnumeration TYPO3\CMS\Core\Tests\Unit\Type\Fixture\Enumeration\InvalidConstantEnumeration TYPO3\CMS\Core\Tests\Unit\Type\Fixture\Enumeration\MissingConstantsEnumeration TYPO3\CMS\Core\Tests\Unit\Type\Fixture\Enumeration\MissingDefaultEnumeration TYPO3\CMS\Core\Type\Bitmask\JsConfirmation TYPO3\CMS\Core\Type\Bitmask\Permission TYPO3\CMS\Core\Type\Icon\IconState TYPO3\CMS\Core\Versioning\VersionState TYPO3\CMS\IndexedSearch\Utility\LikeWildcard TYPO3\CMS\Core\Type\File\ImageInfo

Public Member Functions

 __toString ()
 

Detailed Description

This is an interface that has to be used by all Core Types. All of them have to implement a __toString() method that is used to get a flatten string for the persistence of the object.

Definition at line 22 of file TypeInterface.php.

Member Function Documentation

◆ __toString()

TYPO3\CMS\Core\Type\TypeInterface::__toString ( )

Core types must implement the __toString function in order to be serialized to the database;

Returns
string

Implemented in TYPO3\CMS\Core\Type\Enumeration.