![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
|
|
#5 |
|
Продвинутый
Регистрация: 11.03.2007
Адрес: lviv
Сообщений: 71
|
<field_id type="array">
<tx_templavoila type="array"> <title></title> <sample_data type="array"> <numIndex index="0"></numIndex> </sample_data> <eType>input</eType> <TypoScript> <![CDATA[ 10 = USER_INT 10.userFunc = tx_genome_pi1->main 10.obj = TEXT 10.obj.field = field_id } ]]> </TypoScript> <proc type="array"> <HSC type="integer">1</HSC> </proc> </tx_templavoila> <TCEforms type="array"> <config type="array"> <type>input</type> <size>48</size> <eval>trim</eval> </config> <label></label> </TCEforms> </field_id> Вот такое есть в ТВ function main($content, $conf) { $this->conf = $conf; $this->pi_setPiVarDefaults(); $this->pi_loadLL(); $str = $this->cObj->cObjGetSingle($this->conf['obj'],$this->conf['obj.']); // $content='yahoooooooo' ; //var_dump($this->data); return $str; } _______________ как получить поле 10.obj.field = field_id в пхп? сейчас выводит <!--INT_SCRIPT.dd85a1666d2aa34cde323ae81f762f62--> |
|
|
|