TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
Category Class Reference
Inheritance diagram for Category:
AbstractEntity AbstractDomainObject DomainObjectInterface ObjectMonitoringInterface

Public Member Functions

 getTitle ()
 
 setTitle ($title)
 
 getDescription ()
 
 setDescription ($description)
 
 getIcon ()
 
 setIcon ($icon)
 
 getParent ()
 
 setParent (\TYPO3\CMS\Extbase\Domain\Model\Category $parent)
 

Protected Attributes

 $title = ''
 
 $description = ''
 
 $icon = ''
 
 $parent = null
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractDomainObject
 isPropertyDirty ($previousValue, $currentValue)
 

Detailed Description

This model represents a category (for anything).

Definition at line 22 of file Category.php.

Member Function Documentation

getDescription ( )

Gets the description.

Returns
string the description, might be empty

Definition at line 75 of file Category.php.

References Category\$description.

getIcon ( )

Returns the icon

Returns
string $icon

Definition at line 98 of file Category.php.

References Category\$icon.

getParent ( )

Gets the parent category.

Returns
|NULL the parent category

Definition at line 121 of file Category.php.

References Category\$parent.

getTitle ( )

Gets the title.

Returns
string the title, might be empty

Definition at line 52 of file Category.php.

References Category\$title.

setDescription (   $description)

Sets the description.

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

Definition at line 87 of file Category.php.

References Category\$description.

setIcon (   $icon)

Sets the icon

Parameters
string$icon
Returns
void

Definition at line 110 of file Category.php.

References Category\$icon.

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 136 of file Category.php.

References Category\$parent.

setTitle (   $title)

Sets the title.

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

Definition at line 64 of file Category.php.

References Category\$title.

Member Data Documentation

$description = ''
protected

Definition at line 33 of file Category.php.

Referenced by Category\getDescription(), and Category\setDescription().

$icon = ''
protected

Definition at line 38 of file Category.php.

Referenced by Category\getIcon(), and Category\setIcon().

$parent = null
protected

Definition at line 44 of file Category.php.

Referenced by Category\getParent(), and Category\setParent().

$title = ''
protected

Definition at line 28 of file Category.php.

Referenced by Category\getTitle(), and Category\setTitle().