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
VersionState.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Core\Versioning
;
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\Core\Type\Enumeration
;
18
22
final
class
VersionState
extends
Enumeration
23
{
24
const
__default
=
self::DEFAULT_STATE
;
25
32
const
NEW_PLACEHOLDER_VERSION
= -1;
33
38
const
DEFAULT_STATE
= 0;
39
46
const
NEW_PLACEHOLDER
= 1;
47
54
const
DELETE_PLACEHOLDER
= 2;
55
71
const
MOVE_PLACEHOLDER
= 3;
72
const
MOVE_POINTER
= 4;
73
77
public
function
indicatesPlaceholder
()
78
{
79
return
(
int
)$this->
__toString
() >
self::DEFAULT_STATE
;
80
}
81
}
TYPO3\CMS\Core\Versioning\VersionState\NEW_PLACEHOLDER
const NEW_PLACEHOLDER
Definition:
VersionState.php:46
TYPO3\CMS\Core\Versioning
Definition:
VersionState.php:2
TYPO3\CMS\Core\Versioning\VersionState\DELETE_PLACEHOLDER
const DELETE_PLACEHOLDER
Definition:
VersionState.php:54
TYPO3\CMS\Core\Type\Enumeration\__toString
string __toString()
Definition:
Enumeration.php:205
TYPO3\CMS\Core\Versioning\VersionState\MOVE_POINTER
const MOVE_POINTER
Definition:
VersionState.php:72
TYPO3\CMS\Core\Versioning\VersionState\__default
const __default
Definition:
VersionState.php:24
TYPO3\CMS\Core\Versioning\VersionState
Definition:
VersionState.php:23
TYPO3\CMS\Core\Versioning\VersionState\NEW_PLACEHOLDER_VERSION
const NEW_PLACEHOLDER_VERSION
Definition:
VersionState.php:32
TYPO3\CMS\Core\Versioning\VersionState\DEFAULT_STATE
const DEFAULT_STATE
Definition:
VersionState.php:38
TYPO3\CMS\Core\Type\Enumeration
Definition:
Enumeration.php:25
TYPO3\CMS\Core\Versioning\VersionState\indicatesPlaceholder
bool indicatesPlaceholder()
Definition:
VersionState.php:77
TYPO3\CMS\Core\Versioning\VersionState\MOVE_PLACEHOLDER
const MOVE_PLACEHOLDER
Definition:
VersionState.php:71
doxygen
typo3
sysext
core
Classes
Versioning
VersionState.php
Generated on Tue Oct 5 2021 01:57:16 for TYPO3CMS by
1.8.18