TYPO3
7.6
|
A data map to map a single table configured in $TCA on a domain object.
Definition at line 20 of file DataMap.php.
__construct | ( | $className, | |
$tableName, | |||
$recordType = null , |
|||
array | $subclasses = array() |
||
) |
Constructs this DataMap
string | $className | The class name |
string | $tableName | The table name |
string | $recordType | The record type |
array | $subclasses | The subclasses |
Definition at line 140 of file DataMap.php.
References DataMap\$className, DataMap\$recordType, DataMap\$subclasses, DataMap\$tableName, DataMap\setClassName(), DataMap\setRecordType(), DataMap\setSubclasses(), and DataMap\setTableName().
addColumnMap | ( | ColumnMap | $columnMap | ) |
Adds a given column map to the data map.
\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\ColumnMap | $columnMap | The column map |
Definition at line 238 of file DataMap.php.
References ColumnMap\getPropertyName().
getClassName | ( | ) |
Returns the name of the class the column map represents
Definition at line 164 of file DataMap.php.
References DataMap\$className.
getColumnMap | ( | $propertyName | ) |
Returns the column map corresponding to the given property name.
string | $propertyName |
Definition at line 249 of file DataMap.php.
getCreationDateColumnName | ( | ) |
Returns the name of a column holding the creation date timestamp
Definition at line 386 of file DataMap.php.
References DataMap\$creationDateColumnName.
getCreatorColumnName | ( | ) |
Returns the name of a column holding the uid of the back-end user who created this record
Definition at line 407 of file DataMap.php.
References DataMap\$creatorColumnName.
getDeletedFlagColumnName | ( | ) |
Returns the name of a column indicating the 'deleted' state of the row
Definition at line 428 of file DataMap.php.
References DataMap\$deletedFlagColumnName.
getDisabledFlagColumnName | ( | ) |
Returns the name of a column indicating the 'hidden' state of the row
Definition at line 449 of file DataMap.php.
References DataMap\$disabledFlagColumnName.
getEndTimeColumnName | ( | ) |
Returns the name of a column holding the timestamp the record should not displayed afterwards
Definition at line 491 of file DataMap.php.
References DataMap\$endTimeColumnName.
getFrontEndUserGroupColumnName | ( | ) |
Returns the name of a column holding the uid of the front-end user group which is allowed to edit this record
Definition at line 512 of file DataMap.php.
References DataMap\$frontendUserGroupColumnName.
getIsStatic | ( | ) |
getLanguageIdColumnName | ( | ) |
Returns the name of a column holding the language id of the record.
Definition at line 302 of file DataMap.php.
References DataMap\$languageIdColumnName.
getModificationDateColumnName | ( | ) |
Returns the name of a column holding the timestamp the record was modified
Definition at line 365 of file DataMap.php.
References DataMap\$modificationDateColumnName.
getPageIdColumnName | ( | ) |
Sets the name of a column holding the page id
Definition at line 281 of file DataMap.php.
References DataMap\$pageIdColumnName.
getRecordType | ( | ) |
Returns the record type
Definition at line 206 of file DataMap.php.
References DataMap\$recordType.
getRecordTypeColumnName | ( | ) |
Sets the name of a column holding the record type
Definition at line 533 of file DataMap.php.
References DataMap\$recordTypeColumnName.
getRootLevel | ( | ) |
getStartTimeColumnName | ( | ) |
Returns the name of a column holding the timestamp the record should not displayed before
Definition at line 470 of file DataMap.php.
References DataMap\$startTimeColumnName.
getSubclasses | ( | ) |
Returns the subclasses
Definition at line 227 of file DataMap.php.
References DataMap\$subclasses.
getTableName | ( | ) |
Returns the name of the table the column map represents
Definition at line 185 of file DataMap.php.
References DataMap\$tableName.
getTranslationOriginColumnName | ( | ) |
Returns the name of a column holding the the uid of the record which this record is a translation of.
Definition at line 323 of file DataMap.php.
References DataMap\$translationOriginColumnName.
getTranslationOriginDiffSourceName | ( | ) |
Returns the name of a column holding the diff data for the record which this record is a translation of.
Definition at line 344 of file DataMap.php.
References DataMap\$translationOriginDiffSourceName.
isPersistableProperty | ( | $propertyName | ) |
Returns TRUE if the property is persistable (configured in $TCA)
string | $propertyName | The property name |
Definition at line 260 of file DataMap.php.
setClassName | ( | $className | ) |
Sets the name of the class the colum map represents
string | $className |
Definition at line 154 of file DataMap.php.
References DataMap\$className.
Referenced by DataMap\__construct().
setCreationDateColumnName | ( | $creationDateColumnName | ) |
Sets the name of a column holding the creation date timestamp
string | $creationDateColumnName | The field name |
Definition at line 376 of file DataMap.php.
References DataMap\$creationDateColumnName.
setCreatorColumnName | ( | $creatorColumnName | ) |
Sets the name of a column holding the uid of the back-end user who created this record
string | $creatorColumnName | The field name |
Definition at line 397 of file DataMap.php.
References DataMap\$creatorColumnName.
setDeletedFlagColumnName | ( | $deletedFlagColumnName | ) |
Sets the name of a column indicating the 'deleted' state of the row
string | $deletedFlagColumnName | The field name |
Definition at line 418 of file DataMap.php.
References DataMap\$deletedFlagColumnName.
setDisabledFlagColumnName | ( | $disabledFlagColumnName | ) |
Sets the name of a column indicating the 'hidden' state of the row
string | $disabledFlagColumnName | The field name |
Definition at line 439 of file DataMap.php.
References DataMap\$disabledFlagColumnName.
setEndTimeColumnName | ( | $endTimeColumnName | ) |
Sets the name of a column holding the timestamp the record should not displayed afterwards
string | $endTimeColumnName | The field name |
Definition at line 481 of file DataMap.php.
References DataMap\$endTimeColumnName.
setFrontEndUserGroupColumnName | ( | $frontendUserGroupColumnName | ) |
Sets the name of a column holding the uid of the front-end user group which is allowed to edit this record
string | $frontendUserGroupColumnName | The field name |
Definition at line 502 of file DataMap.php.
References DataMap\$frontendUserGroupColumnName.
setIsStatic | ( | $isStatic | ) |
setLanguageIdColumnName | ( | $languageIdColumnName | ) |
Sets the name of a column holding the language id of the record
string | $languageIdColumnName | The field name |
Definition at line 292 of file DataMap.php.
References DataMap\$languageIdColumnName.
setModificationDateColumnName | ( | $modificationDateColumnName | ) |
Sets the name of a column holding the timestamp the record was modified
string | $modificationDateColumnName | The field name |
Definition at line 355 of file DataMap.php.
References DataMap\$modificationDateColumnName.
setPageIdColumnName | ( | $pageIdColumnName | ) |
Sets the name of a column holding the page id
string | $pageIdColumnName | The field name |
Definition at line 271 of file DataMap.php.
References DataMap\$pageIdColumnName.
setRecordType | ( | $recordType | ) |
Sets the record type
string | $recordType | The record type |
Definition at line 196 of file DataMap.php.
References DataMap\$recordType.
Referenced by DataMap\__construct().
setRecordTypeColumnName | ( | $recordTypeColumnName | ) |
Sets the name of a column holding the record type
string | $recordTypeColumnName | The field name |
Definition at line 523 of file DataMap.php.
References DataMap\$recordTypeColumnName.
setRootLevel | ( | $rootLevel | ) |
bool | $rootLevel |
Definition at line 557 of file DataMap.php.
References DataMap\$rootLevel.
setStartTimeColumnName | ( | $startTimeColumnName | ) |
Sets the name of a column holding the timestamp the record should not displayed before
string | $startTimeColumnName | The field name |
Definition at line 460 of file DataMap.php.
References DataMap\$startTimeColumnName.
setSubclasses | ( | array | $subclasses | ) |
Sets the subclasses
array | $subclasses | An array of subclasses |
Definition at line 217 of file DataMap.php.
References DataMap\$subclasses.
Referenced by DataMap\__construct().
setTableName | ( | $tableName | ) |
Sets the name of the table the colum map represents
string | $tableName |
Definition at line 175 of file DataMap.php.
References DataMap\$tableName.
Referenced by DataMap\__construct().
setTranslationOriginColumnName | ( | $translationOriginColumnName | ) |
Sets the name of a column holding the the uid of the record which this record is a translation of.
string | $translationOriginColumnName | The field name |
Definition at line 313 of file DataMap.php.
References DataMap\$translationOriginColumnName.
setTranslationOriginDiffSourceName | ( | $translationOriginDiffSourceName | ) |
Sets the name of a column holding the the diff data for the record which this record is a translation of.
string | $translationOriginDiffSourceName | The field name |
Definition at line 334 of file DataMap.php.
References DataMap\$translationOriginDiffSourceName.
|
protected |
Definition at line 27 of file DataMap.php.
Referenced by DataMap\__construct(), DataMap\getClassName(), and DataMap\setClassName().
|
protected |
Definition at line 55 of file DataMap.php.
|
protected |
Definition at line 85 of file DataMap.php.
Referenced by DataMap\getCreationDateColumnName(), and DataMap\setCreationDateColumnName().
|
protected |
Definition at line 90 of file DataMap.php.
Referenced by DataMap\getCreatorColumnName(), and DataMap\setCreatorColumnName().
|
protected |
Definition at line 95 of file DataMap.php.
Referenced by DataMap\getDeletedFlagColumnName(), and DataMap\setDeletedFlagColumnName().
|
protected |
Definition at line 100 of file DataMap.php.
Referenced by DataMap\getDisabledFlagColumnName(), and DataMap\setDisabledFlagColumnName().
|
protected |
Definition at line 110 of file DataMap.php.
Referenced by DataMap\getEndTimeColumnName(), and DataMap\setEndTimeColumnName().
|
protected |
Definition at line 115 of file DataMap.php.
Referenced by DataMap\getFrontEndUserGroupColumnName(), and DataMap\setFrontEndUserGroupColumnName().
|
protected |
Definition at line 125 of file DataMap.php.
Referenced by DataMap\getIsStatic(), and DataMap\setIsStatic().
|
protected |
Definition at line 65 of file DataMap.php.
Referenced by DataMap\getLanguageIdColumnName(), and DataMap\setLanguageIdColumnName().
|
protected |
Definition at line 80 of file DataMap.php.
Referenced by DataMap\getModificationDateColumnName(), and DataMap\setModificationDateColumnName().
|
protected |
Definition at line 60 of file DataMap.php.
Referenced by DataMap\getPageIdColumnName(), and DataMap\setPageIdColumnName().
|
protected |
Definition at line 41 of file DataMap.php.
Referenced by DataMap\__construct(), DataMap\getRecordType(), and DataMap\setRecordType().
|
protected |
Definition at line 120 of file DataMap.php.
Referenced by DataMap\getRecordTypeColumnName(), and DataMap\setRecordTypeColumnName().
|
protected |
Definition at line 130 of file DataMap.php.
Referenced by DataMap\getRootLevel(), and DataMap\setRootLevel().
|
protected |
Definition at line 105 of file DataMap.php.
Referenced by DataMap\getStartTimeColumnName(), and DataMap\setStartTimeColumnName().
|
protected |
Definition at line 48 of file DataMap.php.
Referenced by DataMap\__construct(), DataMap\getSubclasses(), and DataMap\setSubclasses().
|
protected |
Definition at line 34 of file DataMap.php.
Referenced by DataMap\__construct(), DataMap\getTableName(), and DataMap\setTableName().
|
protected |
Definition at line 70 of file DataMap.php.
Referenced by DataMap\getTranslationOriginColumnName(), and DataMap\setTranslationOriginColumnName().
|
protected |
Definition at line 75 of file DataMap.php.
Referenced by DataMap\getTranslationOriginDiffSourceName(), and DataMap\setTranslationOriginDiffSourceName().