PHP Class CopyAccessLogFileTool, pkp-lib

Inheritance: extends CommandLineTool
Mostrar archivo Open project: pkp/pkp-lib Class Usage Examples

Public Properties

Property Type Description
$_contextPaths
$_egrepPath
$_tmpDir
$_usageStatsDir
$_usageStatsFiles

Public Methods

Method Description
__construct ( $argv = [] ) Constructor.
_copyFile ( $filePath ) Copy the passed file, filtering entries related to this installation.
execute ( ) Process apache log files, copying and filtering them to the usage stats stage directory. Can work with both a specific file or a directory.
usage ( ) Print command usage information.

Method Details

__construct() public method

Constructor.
public __construct ( $argv = [] )
$argv array command-line arguments

_copyFile() public method

Copy the passed file, filtering entries related to this installation.
public _copyFile ( $filePath )
$filePath string

execute() public method

Process apache log files, copying and filtering them to the usage stats stage directory. Can work with both a specific file or a directory.
public execute ( )

usage() public method

Print command usage information.
public usage ( )

Property Details

$_contextPaths public_oe property

public $_contextPaths

$_egrepPath public_oe property

public $_egrepPath

$_tmpDir public_oe property

public $_tmpDir

$_usageStatsDir public_oe property

public $_usageStatsDir

$_usageStatsFiles public_oe property

public $_usageStatsFiles