@backward compatibility
yeah agree thats a sad thing ... as said _call overrides would still allow to keep both versions, thou I find the solution a little bit hacky.
@create_function
Thx for the hint, didnt know that.
The above implementation of the function was actually just copied from a quick SO search, so didn't care so far to inspect performance.
Anyways will keep that in mind for future work :)
@one_acl_route -> oneACLRoute
Well I wouldn't call that exactly a nice camelCasedAppearence. I'd personally always go with only the first letter capitalized no matter if word or abbreviation.
the reason is that you do not clearly see on a fast look where the ABBR stops and the next word starts (one ... ACLR ... oute)
But I have to agree there are definitely X different ideas what is right and wrong :)
Here is a nice post talking about problems with CC and why quite a lot guys like to stay with underscored version
To be open for all possible cases, the easiest would be to pass an array where you map the original column name to your desired output.
E.g.
exportAll( $beans, false , null, array( 'my_column_name' => 'MyColumnName', 'my_acl_route' => 'myACLRoute' ) )