TYPO3 CMS
TYPO3_6-2
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
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
ArgumentDefinition.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Fluid\Core\ViewHelper
;
3
4
/* *
5
* This script is backported from the TYPO3 Flow package "TYPO3.Fluid". *
6
* *
7
* It is free software; you can redistribute it and/or modify it under *
8
* the terms of the GNU Lesser General Public License, either version 3 *
9
* of the License, or (at your option) any later version. *
10
* *
11
* The TYPO3 project - inspiring people to share! *
12
* */
13
17
class
ArgumentDefinition
{
18
24
protected
$name
;
25
31
protected
$type
;
32
38
protected
$description
;
39
45
protected
$required
= FALSE;
46
52
protected
$defaultValue
= NULL;
53
59
protected
$isMethodParameter
= FALSE;
60
71
public
function
__construct
(
$name
,
$type
,
$description
,
$required
,
$defaultValue
= NULL,
$isMethodParameter
= FALSE) {
72
$this->name =
$name
;
73
$this->type =
$type
;
74
$this->description =
$description
;
75
$this->required =
$required
;
76
$this->defaultValue =
$defaultValue
;
77
$this->
isMethodParameter
=
$isMethodParameter
;
78
}
79
85
public
function
getName
() {
86
return
$this->name
;
87
}
88
94
public
function
getType
() {
95
return
$this->type
;
96
}
97
103
public
function
getDescription
() {
104
return
$this->description
;
105
}
106
112
public
function
isRequired
() {
113
return
$this->required
;
114
}
115
121
public
function
getDefaultValue
() {
122
return
$this->defaultValue
;
123
}
124
130
public
function
isMethodParameter
() {
131
return
$this->isMethodParameter
;
132
}
133
}
TYPO3\CMS\Fluid\Core\ViewHelper
Definition:
AbstractConditionViewHelper.php:2
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\getType
getType()
Definition:
ArgumentDefinition.php:94
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\getDescription
getDescription()
Definition:
ArgumentDefinition.php:103
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$required
$required
Definition:
ArgumentDefinition.php:45
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$name
$name
Definition:
ArgumentDefinition.php:24
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$type
$type
Definition:
ArgumentDefinition.php:31
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\isRequired
isRequired()
Definition:
ArgumentDefinition.php:112
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$defaultValue
$defaultValue
Definition:
ArgumentDefinition.php:52
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$isMethodParameter
$isMethodParameter
Definition:
ArgumentDefinition.php:59
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition
Definition:
ArgumentDefinition.php:17
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\isMethodParameter
isMethodParameter()
Definition:
ArgumentDefinition.php:130
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\__construct
__construct($name, $type, $description, $required, $defaultValue=NULL, $isMethodParameter=FALSE)
Definition:
ArgumentDefinition.php:71
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\getDefaultValue
getDefaultValue()
Definition:
ArgumentDefinition.php:121
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\getName
getName()
Definition:
ArgumentDefinition.php:85
TYPO3\CMS\Fluid\Core\ViewHelper\ArgumentDefinition\$description
$description
Definition:
ArgumentDefinition.php:38
typo3
sysext
fluid
Classes
Core
ViewHelper
ArgumentDefinition.php
Generated on Wed Aug 7 2019 09:52:26 for TYPO3 CMS by
1.8.13