Actions
Bug #84864
closedsetEnableFieldsToBeIgnored(array("endtime")) not work
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-04-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi,
I want to access the database field "endtime".
According to many sources, I have collected the following:
[code]public function findAllForm() {
$query = $this->createQuery();
$querySettings = $query->getQuerySettings();
$query->getQuerySettings()->setIgnoreEnableFields(true);
$query->getQuerySettings()->setEnableFieldsToBeIgnored(array("endtime"));
$query->setQuerySettings($querySettings);
return $query->execute();
}[/code]
Then call it up as follows:
[code]$allItems = $this->FormYouRepository->findAllForm();[/code]
If I then output the function via var_dump, this array will not be listed at all.
Where is my mistake?
Actions