93 self::$QueryName = $theQueryName;
114 private function get_owner()
118 if( $this->UserAlgorithms ===
false )
120 $this->UserAlgorithms =
get_package(
'user::user_algorithms' );
123 $Owner = $this->UserAlgorithms->get_login();
127 catch( Exception $e )
163 $End = microtime(
true );
166 $Owner = $this->get_owner();
168 "INSERT INTO umx_action ".
169 "( alias , description , owner , ip , action_date, execute_time , session ) VALUES ( '".
170 htmlspecialchars( self::$QueryName , ENT_QUOTES ).
"' , '".
171 htmlspecialchars( $Query , ENT_QUOTES ).
"' , '$Owner' , '".$_SERVER[
'REMOTE_ADDR' ].
172 "' , NOW() , '".( $End - $Start ).
"' , '".self::$Session.
"' )"
174 $DBO->query(
'COMMIT' );
177 catch( Exception $e )