TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Domain\Model\Category Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Domain\Model\Category:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface Tx_Extbase_Domain_Model_Category

Public Member Functions

 getTitle ()
 
 setTitle ($title)
 
 getDescription ()
 
 setDescription ($description)
 
 getIcon ()
 
 setIcon ($icon)
 
 getParent ()
 
 setParent (\TYPO3\CMS\Extbase\Domain\Model\Category $parent)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 __wakeup ()
 
 initializeObject ()
 
 getUid ()
 
 setPid ($pid)
 
 getPid ()
 
 _setProperty ($propertyName, $propertyValue)
 
 _getProperty ($propertyName)
 
 _getProperties ()
 
 _hasProperty ($propertyName)
 
 _isNew ()
 
 _memorizeCleanState ($propertyName=NULL)
 
 _memorizePropertyCleanState ($propertyName)
 
 _getCleanProperties ()
 
 _getCleanProperty ($propertyName)
 
 _isDirty ($propertyName=NULL)
 
 _isClone ()
 
 _setClone ($clone)
 
 __clone ()
 
 __toString ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
 _memorizeCleanState ()
 
 _isDirty ()
 

Protected Attributes

 $title = ''
 
 $description = ''
 
 $icon = ''
 
 $parent = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 $uid
 
 $_localizedUid
 
 $_languageUid
 
 $_versionedUid
 
 $pid
 

Additional Inherited Members

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

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 model represents a category (for anything).

Definition at line 21 of file Category.php.

Member Function Documentation

◆ getDescription()

TYPO3\CMS\Extbase\Domain\Model\Category::getDescription ( )

Gets the description.

Returns
string the description, might be empty

Definition at line 72 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$description.

◆ getIcon()

TYPO3\CMS\Extbase\Domain\Model\Category::getIcon ( )

Returns the icon

Returns
string $icon

Definition at line 93 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$icon.

◆ getParent()

TYPO3\CMS\Extbase\Domain\Model\Category::getParent ( )

Gets the parent category.

Returns
|NULL the parent category

Definition at line 114 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$parent.

◆ getTitle()

TYPO3\CMS\Extbase\Domain\Model\Category::getTitle ( )

Gets the title.

Returns
string the title, might be empty

Definition at line 51 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$title.

◆ setDescription()

TYPO3\CMS\Extbase\Domain\Model\Category::setDescription (   $description)

Sets the description.

Parameters
string$descriptionthe description to set, may be empty
Returns
void

Definition at line 83 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$description.

◆ setIcon()

TYPO3\CMS\Extbase\Domain\Model\Category::setIcon (   $icon)

Sets the icon

Parameters
string$icon
Returns
void

Definition at line 104 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$icon.

◆ setParent()

TYPO3\CMS\Extbase\Domain\Model\Category::setParent ( \TYPO3\CMS\Extbase\Domain\Model\Category  $parent)

Sets the parent category.

Parameters
\TYPO3\CMS\Extbase\Domain\Model\Category$parentthe parent category
Returns
void

Definition at line 128 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$parent.

◆ setTitle()

TYPO3\CMS\Extbase\Domain\Model\Category::setTitle (   $title)

Sets the title.

Parameters
string$titlethe title to set, may be empty
Returns
void

Definition at line 62 of file Category.php.

References TYPO3\CMS\Extbase\Domain\Model\Category\$title.

Member Data Documentation

◆ $description

TYPO3\CMS\Extbase\Domain\Model\Category::$description = ''
protected

◆ $icon

TYPO3\CMS\Extbase\Domain\Model\Category::$icon = ''
protected

◆ $parent

TYPO3\CMS\Extbase\Domain\Model\Category::$parent = NULL
protected

◆ $title

TYPO3\CMS\Extbase\Domain\Model\Category::$title = ''
protected