different users has different thinking… for you is more important the $data field for someone other is the $row… so my answer is “why not”
The $row, $data order is the most used in all other cases that why I stick with it… and for me personally it makes sense… the row we are on… and the data for that row… but that is just my opinion
Well, I can’t find the situations where ‘visible’ or ‘url’ needs $row variable. I thought it’s used for css mostly. In any case now it’s better then it was. Thank you
mdomba, you said in Issue 2892 that very few (<= 1%) people use anonymous functions. The reason I use anonymous functions is for complex values. For example, I want to display a radio button list in a CDataColumn with CHtml::radioButtonList. Also, it is easier to debug the code, since Xdebug could break and step in the anonymous functions. For other simple values I stick with string. Do you have any professional suggestion for me? Do everybody only use simple values?
This thread is related to the parameter order problem… for other "problems" please open another threads so that we do not complicate this thread with different problems
anonymous functions are available from PHP 5.3 that is not so widespread that’s why my estimate of 1% (and by the forum questions regarding them, too)…