Commit graph

9 commits

Author SHA1 Message Date
Sam Reed
2f23e71490 arrray -> array
Whitespace

Other documentation improvements

Comment out some unused code (which has a fixme left with it already)
2011-11-01 23:48:09 +00:00
Jack Phoenix
3b5750adb4 coding style tweaks, doc updates, marked some public functions as such 2011-03-22 20:23:52 +00:00
Sam Reed
d25b872f76 Kill off some more old version checking stuffs 2011-03-16 22:38:17 +00:00
X!
3e36a442e7 Forcing array breaks MWFunction with <2 parameters 2011-01-04 01:51:48 +00:00
X!
76b8218e75 Throw an exception if calling parent or self on MWFunction. 2011-01-03 20:19:51 +00:00
X!
49aa485313 Run is_callable, just to make sure the autoloader gets called. 2011-01-03 19:55:44 +00:00
X!
1d0ac4a481 Move wfCreateObject to MWFunction::newObj. This uses the ReflectionClass to
instantiate a variable-length constructor in php 5.1.3 and up, and falls
back to the old, ugly, manual method that was in the old wfCreateObject
function. The instances in the core have been replaced.
2011-01-03 02:10:05 +00:00
Alexandre Emsenhuber
5f5192f553 Replaced call to in_string() by strpos() since the former is not available at the time this function is called from WebStart.php (was breaking the installer) 2011-01-02 14:29:04 +00:00
X!
3589532db4 Per my comment on r68760: Make MWfunction class, complete with call_user_func helper functions that automatically
make the callback PHP 5.1 compatible with the Class::Method syntax. Add Unit tests to supplement it.
2011-01-02 06:48:07 +00:00