phpDocumentor spunq-backend
[ class tree: spunq-backend ] [ index: spunq-backend ] [ all elements ]

Class: logit

Source Location: /backend/classes/logit.class.php

Class logit

Class Overview

DESCRIPTION: logit object class for logit handling file or browser

Located in /backend/classes/logit.class.php [line 28]



		
				Author(s):
		
		
		
Information Tags:
Version:  1.2
License:  http://www.gnu.org/licenses/gpl.html
Since:  Version 0.1

Properties

Methods

[ Top ]
Property Summary
mixed   $data  
mixed   $fp  
mixed   $fpf  
mixed   $logdata  
mixed   $session  
mixed   $template  

[ Top ]
Method Summary
void   logit()   log::log()
void   __construct()   log::__construct()
string   createlog()   log::createlog()
void   logevent()   log::logevent()
string   readtmpl()   log::readtmpl()
string   stripstring()   log::stripstring()
void   writedebug()   log::writedebug()
void   writelog()   log::writelog()

[ Top ]
Properties
mixed   $data [line 29]

[ Top ]
mixed   $fp [line 33]

[ Top ]
mixed   $fpf [line 34]

[ Top ]
mixed   $logdata [line 32]

[ Top ]
mixed   $session [line 30]

[ Top ]
mixed   $template [line 31]

[ Top ]
Methods
Constructor logit  [line 59]

  void logit( array $SESSION  )

log::log()

// purpose: constructor

Parameters:
array   $SESSION: 


[ Top ]
Constructor __construct  [line 42]

  void __construct( array $SESSION  )

log::__construct()

// purpose: constructor for php 5

Parameters:
array   $SESSION: 


[ Top ]
createlog  [line 101]

  string createlog( $data, string $logstyle, array $database  )

log::createlog()

// purpose: creates log entry using data and template

Parameters:
array   $database: 
string   $logstyle: 
   $data: 


[ Top ]
logevent  [line 77]

  void logevent( $data, string $file, string $tmpl  )

log::logevent()

// purpose: handle logevent, call logstyler and createlog

Parameters:
string   $file: 
string   $tmpl: 
   $data: 


[ Top ]
readtmpl  [line 88]

  string readtmpl( )

log::readtmpl()

// purpose: reads log style from template



[ Top ]
stripstring  [line 151]

  string stripstring( string $data  )

log::stripstring()

// purpose: strips a string for readable writing in logfile

Parameters:
string   $data:  // given string to handle


[ Top ]
writedebug  [line 130]

  void writedebug( $logdata, $title  )

log::writedebug()

// purpose: writes debug data to the debugfile

Parameters:
   $logdata: 
   $title: 


[ Top ]
writelog  [line 112]

  void writelog( $logdata  )

log::writelog()

// purpose: writes logdata to the logfile

Parameters:
   $logdata: 


[ Top ]

Documentation generated on Fri, 09 Feb 2007 19:17:45 +0100 by phpDocumentor 1.3.1
js@strg.at