On Sun, Oct 12, 2008 at 11:46 AM, ialex@svn.wikimedia.org wrote:
Revision: 41988 Author: ialex Date: 2008-10-12 09:46:23 +0000 (Sun, 12 Oct 2008)
Log Message:
Added a read-only API module
[...]
Added: trunk/extensions/Configure/Configure.api.php
--- trunk/extensions/Configure/Configure.api.php (rev 0) +++ trunk/extensions/Configure/Configure.api.php 2008-10-12 09:46:23 UTC (rev 41988) @@ -0,0 +1,317 @@
[...]
$this->dieusage( 'You need to call efConfigureSetup() to use this module', 'noconf' );
(and other instances)
It's ApiBase::dieUsage (camelCase), not dieusage.
Bryan
Bryan Tong Minh schreef:
$this->dieusage( 'You need to call efConfigureSetup() to use this module', 'noconf' );
(and other instances)
It's ApiBase::dieUsage (camelCase), not dieusage.
It doesn't matter very much, because function names are case-insensitive in PHP (while variable names are case-sensitive...).
Roan Kattouw (Catrope)
On Mon, Oct 13, 2008 at 5:50 PM, Roan Kattouw roan.kattouw@home.nl wrote:
Bryan Tong Minh schreef:
$this->dieusage( 'You need to call efConfigureSetup() to use this module', 'noconf' );
(and other instances)
It's ApiBase::dieUsage (camelCase), not dieusage.
It doesn't matter very much, because function names are case-insensitive in PHP (while variable names are case-sensitive...).
Roan Kattouw (Catrope)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Good programming practices though.
On Mon, Oct 13, 2008 at 11:50 AM, Roan Kattouw roan.kattouw@home.nl wrote:
It doesn't matter very much, because function names are case-insensitive in PHP (while variable names are case-sensitive...).
Not necessarily in PHP 6. It's something that looks like it will be removed eventually.
http://www.php.net/~derick/meeting-notes.html#case-sensitivity-of-identifier...
wikitech-l@lists.wikimedia.org