TYPO3 CMS  TYPO3_6-2
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\Core\DataHandling\TableColumnSubType TYPO3\CMS\Core\DataHandling\TableColumnType 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\Versioning\VersionState TYPO3\CMS\Core\Type\File\ImageInfo

Public Member Functions

 __toString ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! 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.