ultimix

- Main Page
- Data Structures
- Files
- Examples

- File List
- Globals

error_log_algorithms.php
Go to the documentation of this file.
1 <?php
2
3 /*
4 * This source code is a part of the Ultimix Project.
5 * It is distributed under BSD license. All other third side source code (like tinyMCE) is distributed under
6 * it's own license wich could be found from the corresponding files or sources.
7 * This source code is provided "as is" without any warranties or garanties.
8 *
9 * Have a nice day!
10 *
11 * @url http://ultimix.sorceforge.net
12 *
13 * @author Alexey "gdever" Dodonov
14 */
15
26 class error_log_algorithms_1_0_0{
27
58 function select_messages( $Start , $Limit , $Field = false , $Order = false )
59 {
60 try
61 {
62 $Database = get_package( 'database' , 'last' , __FILE__ );
63 $DatabaseAlgorithms = get_package( 'database::database_algorithms' , 'last' , __FILE__ );
64
65 $Condition = $DatabaseAlgorithms->select_condition(
66 $Start , $Limit , $Field , $Order , '1 = 1'
67 );
68
69 $Results = $Database->select(
70 '*' , 'umx_error_log' , $Condition
71 );
72
73 return( $Results );
74 }
75 catch( Exception $e )
76 {
77 $a = func_get_args();_throw_exception_object( __METHOD__ , $a , $e );
78 }
79 }
80 }
81
82 ?>