Last active
April 12, 2017 06:41
-
-
Save typo3ua/7644252 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:debug>{categories}</f:debug> | |
<v:form.select id="categories" options="{categories}" property="categories" name="categories" optionValueField="uid" optionLabelField="title"/> |
I need a menu of categories of news.
<f:debug>{categories}</f:debug>
output
Extbase Variable Dump
array(4 items)
1 => array(2 items)
item => Tx_News_Domain_Model_Categoryprototypepersistent entity (uid=1, pid=24)
sorting => 256 (integer)
crdate => DateTimeprototypeobject (2013-11-20T00:26:17+02:00, 1384899977)
tstamp => DateTimeprototypeobject (2013-11-20T00:26:17+02:00, 1384899977)
starttime => NULL
hidden => 0 (integer)
endtime => NULL
sysLanguageUid => 0 (integer)
l10nParent => 0 (integer)
title => 'Santé' (6 chars)
description => '' (0 chars)
parentcategory => NULL
image => '' (0 chars)
shortcut => 0 (integer)
singlePid => 0 (integer)
importId => '' (0 chars)
importSource => '' (0 chars)
feGroup => '' (0 chars)
countRelatedNews => 0 (integer)
uid => 1 (integer)
_localizedUid => 1 (integer)modified
_languageUid => 0 (integer)modified
pid => 24 (integer)
parent => NULL
2 => array(2 items)
3 => array(2 items)
4 => array(2 items)
<select name="categories"><option value="1"></option>
<option value="2"></option>
<option value="3"></option>
<option value="4"></option>
</select>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need form