PHP Класс CopyAccessLogFileTool, pkp-lib

Наследование: extends CommandLineTool
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$_contextPaths
$_egrepPath
$_tmpDir
$_usageStatsDir
$_usageStatsFiles

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

_copyFile() публичный Метод

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

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.
public execute ( )

usage() публичный Метод

Print command usage information.
public usage ( )

Описание свойств

$_contextPaths публичное свойство

public $_contextPaths

$_egrepPath публичное свойство

public $_egrepPath

$_tmpDir публичное свойство

public $_tmpDir

$_usageStatsDir публичное свойство

public $_usageStatsDir

$_usageStatsFiles публичное свойство

public $_usageStatsFiles