‪TYPO3CMS  10.4
ExtbaseTeam\BlogExample\Domain\Model\TtContent Class Reference
Inheritance diagram for ExtbaseTeam\BlogExample\Domain\Model\TtContent:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 __construct ()
 
string getHeader ()
 
 setHeader ($header)
 
TYPO3 CMS Extbase Persistence ObjectStorage getImage ()
 
 setImage (ObjectStorage $image)
 
 addCategory (Category $category)
 
 setCategories ($categories)
 
TYPO3 CMS Extbase Persistence ObjectStorage getCategories ()
 
 removeCategory (Category $category)
 
string __toString ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int null getUid ()
 
 setPid (int $pid)
 
int null getPid ()
 
bool _setProperty (string $propertyName, $propertyValue)
 
mixed _getProperty (string $propertyName)
 
array _getProperties ()
 
bool _hasProperty ($propertyName)
 
bool _isNew ()
 
 _memorizeCleanState ($propertyName=null)
 
 _memorizePropertyCleanState ($propertyName)
 
array _getCleanProperties ()
 
mixed _getCleanProperty (string $propertyName)
 
bool _isDirty ($propertyName=null)
 
bool _isClone ()
 
 _setClone ($clone)
 
 __clone ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
 _memorizeCleanState ()
 
bool _isDirty ()
 

Protected Attributes

int null $uid
 
int null $pid
 
string $header
 
TYPO3 CMS Extbase Persistence ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference$image
 
TYPO3 CMS Extbase Persistence ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\Category$categories
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
int $uid
 
int $_localizedUid
 
int $_languageUid
 
int $_versionedUid
 
int $pid
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
bool isPropertyDirty ($previousValue, $currentValue)
 

Detailed Description

A tt_content model

Definition at line 28 of file TtContent.php.

Constructor & Destructor Documentation

◆ __construct()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::__construct ( )

Constructs this post

Definition at line 60 of file TtContent.php.

Member Function Documentation

◆ __toString()

string ExtbaseTeam\BlogExample\Domain\Model\TtContent::__toString ( )

Returns this as a formatted string

Returns
‪string

Reimplemented from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject.

Definition at line 147 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\getHeader().

◆ addCategory()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::addCategory ( Category  $category)

Add category to a CE

Parameters
\TYPO3\CMS\Extbase\Domain\Model\Category$category

Definition at line 107 of file TtContent.php.

◆ getCategories()

TYPO3 CMS Extbase Persistence ObjectStorage ExtbaseTeam\BlogExample\Domain\Model\TtContent::getCategories ( )

Get categories

Returns
‪\TYPO3\CMS\Extbase\Persistence\ObjectStorage

Definition at line 127 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$categories.

◆ getHeader()

string ExtbaseTeam\BlogExample\Domain\Model\TtContent::getHeader ( )

Returns the header

Returns
‪string $header

Definition at line 71 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$header.

Referenced by ExtbaseTeam\BlogExample\Domain\Model\TtContent\__toString().

◆ getImage()

TYPO3 CMS Extbase Persistence ObjectStorage ExtbaseTeam\BlogExample\Domain\Model\TtContent::getImage ( )
Returns
‪\TYPO3\CMS\Extbase\Persistence\ObjectStorage

Definition at line 89 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$image.

◆ removeCategory()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::removeCategory ( Category  $category)

Remove category from a CE

Parameters
\TYPO3\CMS\Extbase\Domain\Model\Category$category

Definition at line 137 of file TtContent.php.

◆ setCategories()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::setCategories (   $categories)

Set categories

Parameters
\TYPO3\CMS\Extbase\Persistence\ObjectStorage$categories

Definition at line 117 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$categories.

◆ setHeader()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::setHeader (   $header)

Sets the header

Parameters
string$header

Definition at line 81 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$header.

◆ setImage()

ExtbaseTeam\BlogExample\Domain\Model\TtContent::setImage ( ObjectStorage  $image)
Parameters
\TYPO3\CMS\Extbase\Persistence\ObjectStorage$image

Definition at line 97 of file TtContent.php.

References ExtbaseTeam\BlogExample\Domain\Model\TtContent\$image.

Member Data Documentation

◆ $categories

TYPO3 CMS Extbase Persistence ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\Category> ExtbaseTeam\BlogExample\Domain\Model\TtContent::$categories
protected

◆ $header

string ExtbaseTeam\BlogExample\Domain\Model\TtContent::$header
protected

◆ $image

TYPO3 CMS Extbase Persistence ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> ExtbaseTeam\BlogExample\Domain\Model\TtContent::$image
protected

◆ $pid

int null ExtbaseTeam\BlogExample\Domain\Model\TtContent::$pid
protected

pid

Definition at line 40 of file TtContent.php.

◆ $uid

int null ExtbaseTeam\BlogExample\Domain\Model\TtContent::$uid
protected

uid

Definition at line 34 of file TtContent.php.