Ralf Becker 31cb95989e "allow static get_rows callbacks, eg. 'app_ui::get_rows':
- on php5.3+ they get directly called via a variable: $callback($query,$rows,$readonlys)
- on php < 5.3 we instancate the class, an call the method non-static: $obj->$method($query,$rows,$readonlys)
--> allows application code to be prepared for static callbacks
Note:
- we can not use call_user_func, as it does NOT support passing by reverence, which is required for $rows and $readonlys parameter
- static callbacks allow to NOT instanciate the class again for the callback (without current dirty methods like placing the object in $GLOBALS[$class])"
2009-05-14 10:22:13 +00:00
2009-05-11 20:58:53 +00:00
2009-05-14 07:59:51 +00:00
2009-04-28 19:25:35 +00:00
2008-10-09 16:22:42 +00:00
2007-02-28 03:40:03 +00:00
2008-07-16 09:29:13 +00:00
2008-08-21 06:21:32 +00:00
2008-08-21 06:21:32 +00:00
Languages
PHP 54.7%
TypeScript 18.6%
JavaScript 10.6%
CSS 10.2%
Less 2.1%
Other 3.8%