Bug #17086
closedclass.t3lib_div.php
0%
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)
Updated by Benni Mack over 16 years ago
Hey Martin,
I think you should use the function from the LANG object, right?
Updated by Martin Holtz over 16 years ago
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
Updated by Christian Kuhn over 15 years ago
Resolved, fixed:
The comment "Use only from backend!" has been removed in trunk with revision 4844 with bug #19792