‪TYPO3CMS  9.5
CreateColumnDefinitionItem.php
Go to the documentation of this file.
1 <?php
2 declare(strict_types = 1);
3 
5 
6 /*
7  * This file is part of the TYPO3 CMS project.
8  *
9  * It is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License, either version 2
11  * of the License, or any later version.
12  *
13  * For the full copyright and license information, please read the
14  * LICENSE.txt file that was distributed with this source code.
15  *
16  * The TYPO3 project - inspiring people to share!
17  */
18 
20 
26 {
30  public ‪$columnName;
31 
35  public ‪$dataType;
36 
42  public ‪$allowNull = true;
43 
49  public ‪$hasDefaultValue = false;
50 
56  public ‪$defaultValue;
57 
63  public ‪$autoIncrement = false;
64 
70  public ‪$index = false;
71 
77  public ‪$unique = false;
78 
84  public ‪$primary = false;
85 
91  public ‪$comment;
92 
98  public ‪$columnFormat;
99 
105  public ‪$storage;
106 
110  public ‪$reference;
111 
119  {
120  $this->columnName = ‪$columnName;
121  $this->dataType = ‪$dataType;
122  }
123 }
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$defaultValue
‪mixed $defaultValue
Definition: CreateColumnDefinitionItem.php:51
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\Identifier
Definition: Identifier.php:24
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$primary
‪bool $primary
Definition: CreateColumnDefinitionItem.php:75
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$dataType
‪TYPO3 CMS Core Database Schema Parser AST DataType AbstractDataType $dataType
Definition: CreateColumnDefinitionItem.php:33
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem
Definition: CreateColumnDefinitionItem.php:26
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\__construct
‪__construct(Identifier $columnName, AbstractDataType $dataType)
Definition: CreateColumnDefinitionItem.php:105
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$columnName
‪TYPO3 CMS Core Database Schema Parser AST Identifier $columnName
Definition: CreateColumnDefinitionItem.php:29
‪TYPO3\CMS\Core\Database\Schema\Parser\AST
Definition: AbstractCreateDefinitionItem.php:4
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$storage
‪string $storage
Definition: CreateColumnDefinitionItem.php:93
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$autoIncrement
‪bool $autoIncrement
Definition: CreateColumnDefinitionItem.php:57
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$hasDefaultValue
‪bool $hasDefaultValue
Definition: CreateColumnDefinitionItem.php:45
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\DataType\AbstractDataType
Definition: AbstractDataType.php:24
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$allowNull
‪bool $allowNull
Definition: CreateColumnDefinitionItem.php:39
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$columnFormat
‪string $columnFormat
Definition: CreateColumnDefinitionItem.php:87
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$comment
‪string $comment
Definition: CreateColumnDefinitionItem.php:81
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\AbstractCreateDefinitionItem
Definition: AbstractCreateDefinitionItem.php:24
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$unique
‪bool $unique
Definition: CreateColumnDefinitionItem.php:69
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$reference
‪ReferenceDefinition $reference
Definition: CreateColumnDefinitionItem.php:97
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\ReferenceDefinition
Definition: ReferenceDefinition.php:25
‪TYPO3\CMS\Core\Database\Schema\Parser\AST\CreateColumnDefinitionItem\$index
‪bool $index
Definition: CreateColumnDefinitionItem.php:63