MediaWiki  REL1_22
mcc.php File Reference

memcached diagnostic tool More...

Go to the source code of this file.

Variables

 $cache = isset( $options['cache'] ) ? $options['cache'] : null
 $debug = isset( $options['debug'] )
 $help = isset( $options['help'] )
if($help) $mcc
 $options = getopt( '', array( 'debug', 'help', 'cache:' ) )

Detailed Description

memcached diagnostic tool

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Todo:
document

Definition in file mcc.php.


Variable Documentation

$help = isset( $options['help'] )

Definition at line 31 of file mcc.php.

Referenced by ApiFormatBase\setHelp().

if ($help) $mcc
Initial value:
 new MWMemcached( array(
    'persistent' => true,
    'debug' => $debug,
) )

Definition at line 38 of file mcc.php.

Referenced by mcTest\execute().

$options = getopt( '', array( 'debug', 'help', 'cache:' ) )

Definition at line 28 of file mcc.php.