TYPO3 CMS  TYPO3_6-2
ArgumentDefinition.php
Go to the documentation of this file.
1 <?php
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 
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 
72  $this->name = $name;
73  $this->type = $type;
74  $this->description = $description;
75  $this->required = $required;
76  $this->defaultValue = $defaultValue;
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() {
132  }
133 }
__construct($name, $type, $description, $required, $defaultValue=NULL, $isMethodParameter=FALSE)