XOOPS RMCommon Utilities
 All Classes Namespaces Files Functions Variables
Swift_Plugins_Loggers_ArrayLogger Class Reference
Inheritance diagram for Swift_Plugins_Loggers_ArrayLogger:
Inheritance graph

Public Member Functions

 __construct ($size=50)
 add ($entry)
 clear ()
 dump ()

Private Attributes

 $_log = array()
 $_size = 0

Detailed Description

Definition at line 17 of file ArrayLogger.php.

Constructor & Destructor Documentation

Swift_Plugins_Loggers_ArrayLogger::__construct (   $size = 50)

Definition at line 38 of file ArrayLogger.php.

Member Function Documentation

Swift_Plugins_Loggers_ArrayLogger::add (   $entry)

Add a log entry.


Implements Swift_Plugins_Logger.

Definition at line 47 of file ArrayLogger.php.

Swift_Plugins_Loggers_ArrayLogger::clear ( )

Clear the log contents.

Implements Swift_Plugins_Logger.

Definition at line 59 of file ArrayLogger.php.

Swift_Plugins_Loggers_ArrayLogger::dump ( )

Get this log as a string.


Implements Swift_Plugins_Logger.

Definition at line 68 of file ArrayLogger.php.

Member Data Documentation

Swift_Plugins_Loggers_ArrayLogger::$_log = array()

Definition at line 25 of file ArrayLogger.php.

Swift_Plugins_Loggers_ArrayLogger::$_size = 0

Definition at line 32 of file ArrayLogger.php.

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