Open Monograph Press  3.3.0
fixFilenames Class Reference
Inheritance diagram for fixFilenames:
CommandLineTool

Public Member Functions

 __construct ($argv=array())
 
 execute ()
 
 usage ()
 

Data Fields

 $dryrun
 
- Data Fields inherited from CommandLineTool
 $argv
 
 $scriptName
 

Detailed Description

CLI tool to fix pre-1.0 filenames that may have been incorrectly generated. See bug #8461.

Definition at line 22 of file fixFilenames.php.

Constructor & Destructor Documentation

◆ __construct()

fixFilenames::__construct (   $argv = array())

Constructor.

Parameters
$argvarray command-line arguments

Reimplemented from CommandLineTool.

Definition at line 33 of file fixFilenames.php.

References CommandLineTool\$argv, and usage().

Member Function Documentation

◆ execute()

fixFilenames::execute ( )

Execute upgrade task

Definition at line 59 of file fixFilenames.php.

References Upgrade\fixFilenames().

◆ usage()

fixFilenames::usage ( )

Print command usage information.

Reimplemented from CommandLineTool.

Definition at line 49 of file fixFilenames.php.

Referenced by __construct().

Field Documentation

◆ $dryrun

$dryrun fixFilenames::$dryrun

boolean True iff the operation should be a "dry run" (no changes made) only.

Definition at line 27 of file fixFilenames.php.


The documentation for this class was generated from the following file: