TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
Category.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Extbase\Domain\Model
;
3
4
/*
5
* This file is part of the TYPO3 CMS project.
6
*
7
* It is free software; you can redistribute it and/or modify it under
8
* the terms of the GNU General Public License, either version 2
9
* of the License, or any later version.
10
*
11
* For the full copyright and license information, please read the
12
* LICENSE.txt file that was distributed with this source code.
13
*
14
* The TYPO3 project - inspiring people to share!
15
*/
16
17
use
TYPO3\CMS\Extbase\Annotation
as
Extbase
;
18
22
class
Category
extends
\TYPO3\CMS\Extbase\DomainObject\AbstractEntity
23
{
28
protected
$title
=
''
;
29
33
protected
$description
=
''
;
34
39
protected
$parent
;
40
46
public
function
getTitle
()
47
{
48
return
$this->title
;
49
}
50
56
public
function
setTitle
(
$title
)
57
{
58
$this->title =
$title
;
59
}
60
66
public
function
getDescription
()
67
{
68
return
$this->description
;
69
}
70
76
public
function
setDescription
(
$description
)
77
{
78
$this->description =
$description
;
79
}
80
86
public
function
getParent
()
87
{
88
if
($this->parent instanceof \
TYPO3
\CMS\
Extbase
\Persistence\Generic\LazyLoadingProxy) {
89
$this->parent->_loadRealInstance();
90
}
91
return
$this->parent
;
92
}
93
99
public
function
setParent
(\
TYPO3
\CMS\
Extbase
\Domain\Model\
Category
$parent
)
100
{
101
$this->parent =
$parent
;
102
}
103
}
TYPO3\CMS\Extbase\Annotation
Definition:
IgnoreValidation.php:4
TYPO3
TYPO3\CMS\Extbase\DomainObject\AbstractEntity
Definition:
AbstractEntity.php:22
TYPO3\CMS\Extbase\Domain\Model\Category\getParent
TYPO3 CMS Extbase Domain Model Category null getParent()
Definition:
Category.php:83
TYPO3\CMS\Extbase\Domain\Model\Category\getDescription
string getDescription()
Definition:
Category.php:63
TYPO3\CMS\Extbase\Domain\Model\Category\setTitle
setTitle($title)
Definition:
Category.php:53
TYPO3\CMS\Extbase\Domain\Model\Category\$description
string $description
Definition:
Category.php:31
TYPO3\CMS\Extbase\Domain\Model\Category
Definition:
Category.php:23
TYPO3\CMS\Extbase\Domain\Model\Category\$title
string $title
Definition:
Category.php:27
TYPO3\CMS\Extbase\Domain\Model\Category\getTitle
string getTitle()
Definition:
Category.php:43
TYPO3\CMS\Extbase\Domain\Model
Definition:
AbstractFileCollection.php:2
TYPO3\CMS\Extbase\Domain\Model\Category\setParent
setParent(\TYPO3\CMS\Extbase\Domain\Model\Category $parent)
Definition:
Category.php:96
TYPO3\CMS\Extbase\Domain\Model\Category\setDescription
setDescription($description)
Definition:
Category.php:73
TYPO3\CMS\Extbase\Domain\Model\Category\$parent
TYPO3 CMS Extbase Domain Model Category null $parent
Definition:
Category.php:36
doxygen
typo3
sysext
extbase
Classes
Domain
Model
Category.php
Generated on Tue Oct 5 2021 01:57:27 for TYPO3CMS by
1.8.18