ultimix
error_log_algorithms_1_0_0 Class Reference

Public Member Functions

 select_messages ($Start, $Limit, $Field=false, $Order=false)

Detailed Description

Error log' implementation.

Author
Dodonov A.A.

Definition at line 26 of file error_log_algorithms.php.

Member Function Documentation

select_messages (   $Start,
  $Limit,
  $Field = false,
  $Order = false 
)

Function selects records.

Parameters
$Start- Cursor of the first record.
$Limit- Count of the selecting records.
$Field- Field to sort by.
$Order- Sorting order.
Exceptions
Exception- An exception of this type is thrown.
Author
Dodonov A.A.

Definition at line 58 of file error_log_algorithms.php.

{
try
{
$Database = get_package( 'database' , 'last' , __FILE__ );
$DatabaseAlgorithms = get_package( 'database::database_algorithms' , 'last' , __FILE__ );
$Condition = $DatabaseAlgorithms->select_condition(
$Start , $Limit , $Field , $Order , '1 = 1'
);
$Results = $Database->select(
'*' , 'umx_error_log' , $Condition
);
return( $Results );
}
catch( Exception $e )
{
$a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
}
}

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