Public Member Functions

BeSystemComponent Class Reference

Component for low level operations. More...

List of all members.

Public Member Functions

 systemInfo ()
 info for system (i.e.
 backendSystemLogs ($maxRows=10)
 get system logs for backend
 frontendSystemLogs ($maxRows=10)
 get system logs for frontends
 systemLogs ($maxRows=10)
 get system logs
 emptyFile ($fileName)
 open for write or create a file
 isFileReadable ($fileName)
 check whether file is readable
 backendLogFiles ()
 get backend log files for BEdita
 frontendLogFiles ()
 get frontend log files for BEdita
 logFiles ()
 get log files for BEdita and frontends (if BEDITA_FRONTENDS_PATH is set)
 readLogEntries ($fileName, $limit)
 read tail of log file

Detailed Description

Component for low level operations.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 36 of file be_system.php.


Member Function Documentation

BeSystemComponent::backendLogFiles (  ) 

get backend log files for BEdita

Returns:
array

Definition at line 177 of file be_system.php.

References isFileReadable().

Referenced by backendSystemLogs(), and logFiles().

BeSystemComponent::backendSystemLogs ( maxRows = 10  ) 

get system logs for backend

Parameters:
int $maxRows
Returns:
array

Definition at line 108 of file be_system.php.

References backendLogFiles(), and readLogEntries().

Referenced by systemLogs().

BeSystemComponent::emptyFile ( fileName  ) 

open for write or create a file

Parameters:
string $fileName
Exceptions:
SocException 

Definition at line 150 of file be_system.php.

BeSystemComponent::frontendLogFiles (  ) 

get frontend log files for BEdita

Returns:
array

Definition at line 197 of file be_system.php.

References isFileReadable().

Referenced by frontendSystemLogs(), and logFiles().

BeSystemComponent::frontendSystemLogs ( maxRows = 10  ) 

get system logs for frontends

Parameters:
int $maxRows
Returns:
array

Definition at line 123 of file be_system.php.

References frontendLogFiles(), and readLogEntries().

Referenced by systemLogs().

BeSystemComponent::isFileReadable ( fileName  ) 

check whether file is readable

Parameters:
string $fileName

Definition at line 163 of file be_system.php.

Referenced by backendLogFiles(), and frontendLogFiles().

BeSystemComponent::logFiles (  ) 

get log files for BEdita and frontends (if BEDITA_FRONTENDS_PATH is set)

Returns:
array

Definition at line 228 of file be_system.php.

References backendLogFiles(), and frontendLogFiles().

BeSystemComponent::readLogEntries ( fileName,
limit 
)

read tail of log file

Parameters:
string $fileName
int $limit
Returns:
string
Exceptions:
BeditaException 

Definition at line 242 of file be_system.php.

Referenced by backendSystemLogs(), and frontendSystemLogs().

BeSystemComponent::systemInfo (  ) 

info for system (i.e.

database data, os version, php version, etc.)

Returns:
array

Definition at line 85 of file be_system.php.

BeSystemComponent::systemLogs ( maxRows = 10  ) 

get system logs

Parameters:
int $maxRows
Returns:
array

Definition at line 138 of file be_system.php.

References backendSystemLogs(), and frontendSystemLogs().


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus