Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YORM-Doku: Beispiel für resetSelect() #1456

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Conversation

skerbis
Copy link
Contributor

@skerbis skerbis commented Sep 29, 2023

No description provided.

docs/04_yorm.md Outdated Show resolved Hide resolved
Co-authored-by: Alexander Walther <github.com@alexplus.de>
@dergel dergel merged commit 691342e into yakamara:master Sep 29, 2023
3 checks passed
```php
$dataset = rex_yform_manager_query::get('rex_yf_example')
->resetSelect()
->select('id')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier wäre ein Hinweis gut, dass id notiert werden muss, da man sonst eine E_Warning erhält.

Undefined array key "id"

YForm braucht die Column intern. Egal ob man später via $dataset->getData() oder $dataset->getValue('title') die Daten abholt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants