[TYPO3-project-formidable] Wierd behavior userobj call

Manuel Rego Casasnovas mrego at igalia.com
Fri Jun 8 10:18:28 CEST 2007


Hello everyone.

I have a TXT renderlet with the next code:
        <renderlet:TEXT name="code">
            <data>
                <value>
                    <userobj>
                        <extension>this</extension>
                        <method>_getCode</method>
                    </userobj>
                </value>
            </data>
        </renderlet:TEXT>

And in my function _getCode return always 0 (it's a test):
    function _getCode() {
        return 0;
    }

If I show this renderlet in my template:
Code: {code}

I get the next result:
Code: 1181290388

I think that 1181290388 is the current timestamp.

However the expected result would be:
Code: 0

I don't know if this is the expected behavior or no.

Best regards,
   Rego

--
http://www.igalia.com


More information about the TYPO3-project-formidable mailing list