Hi, list.
I'm developing an extension and I've found, that cObjGetSingle method works
really strange.
I'm using it in usual way:
1) calling $this->cObj->start to make my data row as current content and
make possible to use 'field' in TS
2) creating object via $this->cObj->cObjGetSingle($this->conf[$view .
'.'][$key], $this->conf[$view . '.'][$key . '.']);
First strange thing:
plugin.tx_myext_pi1.list {
crdate = TEXT
crdate.field = crdate
}
^ this makes no cObject
plugin.tx_myext_pi1.list {
crdate = TEXT
crdate.field = crdate
crdate.wrap = <b>|</b>
}
^ this makes
But in second case cObject is filled only once. If I call
$this->cObj->cObjGetSingle($this->conf[$view . '.'][$key], $this->conf[$view
. '.'][$key . '.']); second time, I'll get only '<b></b>' in output.
Is it a bug or I'm using it in wrong way?
Thank you in advance.
TYPO3 4.4.4
PHP 5.3.2
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english