![]() |
TYPO3
7.6
|
Public Member Functions | |
setRespectStoragePage ($respectStoragePage) | |
getRespectStoragePage () | |
setStoragePageIds (array $storagePageIds) | |
getStoragePageIds () | |
setRespectSysLanguage ($respectSysLanguage) | |
getRespectSysLanguage () | |
setLanguageOverlayMode ($languageOverlayMode=false) | |
getLanguageOverlayMode () | |
setLanguageMode ($languageMode= '') | |
getLanguageMode () | |
setLanguageUid ($languageUid) | |
getLanguageUid () | |
setIgnoreEnableFields ($ignoreEnableFields) | |
getIgnoreEnableFields () | |
setEnableFieldsToBeIgnored ($enableFieldsToBeIgnored) | |
getEnableFieldsToBeIgnored () | |
setIncludeDeleted ($includeDeleted) | |
getIncludeDeleted () | |
usePreparedStatement ($usePreparedStatement) | |
getUsePreparedStatement () | |
useQueryCache ($useQueryCache) | |
getUseQueryCache () | |
Protected Attributes | |
$respectStoragePage = true | |
$storagePageIds = array() | |
$ignoreEnableFields = false | |
$enableFieldsToBeIgnored = array() | |
$includeDeleted = false | |
$respectSysLanguage = true | |
$languageOverlayMode = true | |
$languageMode = null | |
$languageUid = 0 | |
$usePreparedStatement = false | |
$useQueryCache = true | |
Query settings. This class is NOT part of the TYPO3.Flow API. It reflects the settings unique to TYPO3 CMS.
Definition at line 25 of file Typo3QuerySettings.php.
getEnableFieldsToBeIgnored | ( | ) |
An array of column names in the enable columns array (array keys in $GLOBALS['TCA'][$table]['ctrl']['enablecolumns']), to be ignored while building the query statement.
Implements QuerySettingsInterface.
Definition at line 312 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$enableFieldsToBeIgnored.
getIgnoreEnableFields | ( | ) |
The returned value indicates whether all or some enable fields should be ignored.
If TRUE, all enable fields are ignored. If–in addition to this–enableFieldsToBeIgnored is set, only fields specified there are ignored. If FALSE, all enable fields are taken into account, regardless of the enableFieldsToBeIgnored setting.
Implements QuerySettingsInterface.
Definition at line 284 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$ignoreEnableFields.
getIncludeDeleted | ( | ) |
Returns if the query should return objects that are deleted.
Implements QuerySettingsInterface.
Definition at line 335 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$includeDeleted.
getLanguageMode | ( | ) |
Implements QuerySettingsInterface.
Definition at line 235 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageMode.
getLanguageOverlayMode | ( | ) |
Implements QuerySettingsInterface.
Definition at line 216 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageOverlayMode.
getLanguageUid | ( | ) |
Implements QuerySettingsInterface.
Definition at line 254 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageUid.
getRespectStoragePage | ( | ) |
Returns the state, if the storage page should be respected for the query.
Implements QuerySettingsInterface.
Definition at line 155 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$respectStoragePage.
getRespectSysLanguage | ( | ) |
Implements QuerySettingsInterface.
Definition at line 197 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$respectSysLanguage.
getStoragePageIds | ( | ) |
Returns the pid(s) of the storage page(s) that should be respected for the query.
Implements QuerySettingsInterface.
Definition at line 178 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$storagePageIds.
getUsePreparedStatement | ( | ) |
Implements QuerySettingsInterface.
Definition at line 353 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$usePreparedStatement.
getUseQueryCache | ( | ) |
Implements QuerySettingsInterface.
Definition at line 371 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$useQueryCache.
setEnableFieldsToBeIgnored | ( | $enableFieldsToBeIgnored | ) |
An array of column names in the enable columns array (array keys in $GLOBALS['TCA'][$table]['ctrl']['enablecolumns']), to be ignored while building the query statement. Adding a column name here effectively switches off filtering by this column. This setting is only taken into account if $this->ignoreEnableFields = TRUE.
array | $enableFieldsToBeIgnored |
Implements QuerySettingsInterface.
Definition at line 299 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$enableFieldsToBeIgnored.
setIgnoreEnableFields | ( | $ignoreEnableFields | ) |
Sets a flag indicating whether all or some enable fields should be ignored. If TRUE, all enable fields are ignored. If–in addition to this–enableFieldsToBeIgnored is set, only fields specified there are ignored. If FALSE, all enable fields are taken into account, regardless of the enableFieldsToBeIgnored setting.
bool | $ignoreEnableFields |
Implements QuerySettingsInterface.
Definition at line 269 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$ignoreEnableFields.
setIncludeDeleted | ( | $includeDeleted | ) |
Sets the flag if the query should return objects that are deleted.
bool | $includeDeleted |
Implements QuerySettingsInterface.
Definition at line 324 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$includeDeleted.
setLanguageMode | ( | $languageMode = '' | ) |
string | $languageMode | NULL, "content_fallback", "strict" or "ignore" |
Implements QuerySettingsInterface.
Definition at line 226 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageMode.
setLanguageOverlayMode | ( | $languageOverlayMode = false | ) |
mixed | $languageOverlayMode | TRUE, FALSE or "hideNonTranslated" |
Implements QuerySettingsInterface.
Definition at line 207 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageOverlayMode.
setLanguageUid | ( | $languageUid | ) |
int | $languageUid |
Implements QuerySettingsInterface.
Definition at line 245 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$languageUid.
setRespectStoragePage | ( | $respectStoragePage | ) |
Sets the flag if the storage page should be respected for the query.
bool | $respectStoragePage | If TRUE the storage page ID will be determined and the statement will be extended accordingly. |
Implements QuerySettingsInterface.
Definition at line 144 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$respectStoragePage.
setRespectSysLanguage | ( | $respectSysLanguage | ) |
bool | $respectSysLanguage | TRUE if TYPO3 language settings are to be applied |
Implements QuerySettingsInterface.
Definition at line 188 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$respectSysLanguage.
setStoragePageIds | ( | array | $storagePageIds | ) |
Sets the pid(s) of the storage page(s) that should be respected for the query.
array | $storagePageIds | If given the storage page IDs will be determined and the statement will be extended accordingly. |
Implements QuerySettingsInterface.
Definition at line 167 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$storagePageIds.
usePreparedStatement | ( | $usePreparedStatement | ) |
bool | $usePreparedStatement |
Definition at line 344 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$usePreparedStatement.
useQueryCache | ( | $useQueryCache | ) |
bool | $useQueryCache |
Definition at line 362 of file Typo3QuerySettings.php.
References Typo3QuerySettings\$useQueryCache.
|
protected |
Definition at line 56 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getEnableFieldsToBeIgnored(), and Typo3QuerySettings\setEnableFieldsToBeIgnored().
|
protected |
Definition at line 48 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getIgnoreEnableFields(), and Typo3QuerySettings\setIgnoreEnableFields().
|
protected |
Definition at line 63 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getIncludeDeleted(), and Typo3QuerySettings\setIncludeDeleted().
|
protected |
Definition at line 84 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getLanguageMode(), and Typo3QuerySettings\setLanguageMode().
|
protected |
Definition at line 77 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getLanguageOverlayMode(), and Typo3QuerySettings\setLanguageOverlayMode().
|
protected |
Definition at line 91 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getLanguageUid(), and Typo3QuerySettings\setLanguageUid().
|
protected |
Definition at line 32 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getRespectStoragePage(), and Typo3QuerySettings\setRespectStoragePage().
|
protected |
Definition at line 70 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getRespectSysLanguage(), and Typo3QuerySettings\setRespectSysLanguage().
|
protected |
Definition at line 39 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getStoragePageIds(), and Typo3QuerySettings\setStoragePageIds().
|
protected |
Definition at line 98 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getUsePreparedStatement(), and Typo3QuerySettings\usePreparedStatement().
|
protected |
Definition at line 105 of file Typo3QuerySettings.php.
Referenced by Typo3QuerySettings\getUseQueryCache(), and Typo3QuerySettings\useQueryCache().