Bug #17086
closed
Added by Martin Holtz over 17 years ago.
Updated about 6 years ago.
Category:
Database API (Doctrine DBAL)
Description
function fixed_lgd is deprecated,
i should use t3lib_div::fixed_lgd_cs()
but function fixed_lgd_cs i should only use from backend!
and i thougt, t3lib_div is for frontend development too?
i would say, that is an logical error - is it an bug?
btw. fixed_lgd is used ind tipafriend
(issue imported from #M5148)
Hey Martin,
I think you should use the function from the LANG object, right?
i do not remember, why i needed that function, but i think there is a code-documentation-error in t3lib_div, because
fixed_lgd is marked as deprecated and fixed_lgd_cs is marked as "use only in backend" which is not explained.
So if i used fixed_lgd in an frontend extension i would not know if i should use fixed_lgd_cs or not.
the code documentation is not correct at that point i think.
that is not sooo important, but it is a little bit confusing
i think the sentence "Use only from backend!" in fixed_lgd_cs should be explaind and there should be an hint which function i should use in frontend.
i think stdWrap.crop would be the frontend function?
regards,
martin
Resolved, fixed:
The comment "Use only from backend!" has been removed in trunk with revision 4844 with bug #19792
- Status changed from Resolved to Closed
Also available in: Atom
PDF