LEPTON CMS 7.2.0
feel free to keep it strictly simple...
Loading...
Searching...
No Matches
LEPTON_logging Class Reference

Public Member Functions

 initialize ()
 
 insert_entry ( $action=0, $log_text=0)
 
 display_entry ( $start=1, $end=100000)
 
 insert_secure_entry ( $action=0, $log_text=0)
 
 display_secure_entry ( $start=1, $end=100000)
 
 check_entry ()
 

Static Public Member Functions

static getInstance ()
 

Data Fields

LEPTON_database $database
 
string $log_table = ''
 
string $logged = NULL
 
array $secure_data = []
 
int $user_id = 0
 
string $username = ''
 
array $sUploadMessages = []
 

Static Public Attributes

static $instance
 

Detailed Description

This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.

NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.

Author
LEPTON Project

Definition at line 24 of file lepton_logging.php.

Member Function Documentation

◆ check_entry()

check_entry ( )

Public function to check entries. Use this function/method for all data.

Returns
array of manipulated entries

Definition at line 212 of file lepton_logging.php.

◆ display_entry()

display_entry ( $start = 1,
$end = 100000 )

Public function to display inserted entries. Use this function/method for not encrypted data.

Returns
array of entries

Definition at line 134 of file lepton_logging.php.

◆ display_secure_entry()

display_secure_entry ( $start = 1,
$end = 100000 )

Public function to display inserted entries. Use this function/method for encrypted data.

Returns
array of entries

Definition at line 190 of file lepton_logging.php.

◆ getInstance()

static getInstance ( )
static

Return the internal instance.

Returns
object The instance of this class.

Definition at line 42 of file lepton_logging.php.

◆ initialize()

initialize ( )

Definition at line 53 of file lepton_logging.php.

◆ insert_entry()

insert_entry ( $action = 0,
$log_text = 0 )

Public function to build and execute a mySQL insert entry. Use this function/method for not encrypted data.

Parameters
string$actionA typical "job"-type that is done (UPDATE,INSERT,DELETE, etc)
string$log_textA description , for ecample which ID was handled in which table. You can also use language strings to complete this.
Returns
bool False if fails, otherwise true.

Definition at line 99 of file lepton_logging.php.

◆ insert_secure_entry()

insert_secure_entry ( $action = 0,
$log_text = 0 )

Public function to build and execute a mySQL insert entry, but encrypted. Use this function/method for encrypted data only. It uses LEPTON built in functions and parameters.

Parameters
string$actionA typical "job"-type that is done (UPDATE,INSERT,DELETE, etc)
string$log_textA description , for ecample which ID was handled in which table. You can also use language strings to complete this.
Returns
bool False if fails, otherwise true.

Definition at line 158 of file lepton_logging.php.

Field Documentation

◆ $database

LEPTON_database $database

Definition at line 26 of file lepton_logging.php.

◆ $instance

$instance
static

Definition at line 34 of file lepton_logging.php.

◆ $log_table

string $log_table = ''

Definition at line 27 of file lepton_logging.php.

◆ $logged

string $logged = NULL

Definition at line 28 of file lepton_logging.php.

◆ $secure_data

array $secure_data = []

Definition at line 29 of file lepton_logging.php.

◆ $sUploadMessages

array $sUploadMessages = []

Definition at line 32 of file lepton_logging.php.

◆ $user_id

int $user_id = 0

Definition at line 30 of file lepton_logging.php.

◆ $username

string $username = ''

Definition at line 31 of file lepton_logging.php.


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