vB_DataManager_InfractionClass to do data save/delete operations for infractions
Located in /includes/class_dm_infraction.php (line 25)
vB_DataManager | --vB_DataManager_Infraction
vB_DataManager_Infraction
vB_DataManager_Infraction
(vB_Registry &$registry, [integer $errtype = ERRTYPE_STANDARD])
array
$condition_construct
= array('infractionid = %1$d', 'infractionid') (line 55)
Condition for update query
string
$table
= 'infraction' (line 62)
The main table this class deals with
array
$validfields
= array(Array of recognised and required fields for infractions, and their types
Inherited from vB_DataManager
vB_DataManager::$bitfields
vB_DataManager::$condition
vB_DataManager::$dbobject
vB_DataManager::$errors
vB_DataManager::$error_handler
vB_DataManager::$existing
vB_DataManager::$failure_callback
vB_DataManager::$hook_delete
vB_DataManager::$hook_postsave
vB_DataManager::$hook_presave
vB_DataManager::$hook_start
vB_DataManager::$info
vB_DataManager::$lamda
vB_DataManager::$presave_called
vB_DataManager::$rawfields
vB_DataManager::$registry
vB_DataManager::$setfields
Constructor vB_DataManager_Infraction (line 204)
Constructor - checks that the registry object has been passed correctly.
post_delete (line 368)
Additional data to update after a delete call (such as denormalized values in other tables).
post_save_each (line 247)
pre_save (line 218)
Any checks to run immediately before saving. If returning false, the save will not take place.
reset_infraction (line 164)
Resets infraction information in user and post record after a reversal or removal
update_infraction_groups (line 116)
Updates user's infraction group ids. Call whenever user.ipoints is modified, Do not call from pre_save()
verify_infractionlevelid (line 71)
Verifies that the infractionlevelid is valid and set points and expires if user hasn't explicitly set them
Inherited From vB_DataManager
vB_DataManager::vB_DataManager()
vB_DataManager::check_required()
vB_DataManager::db_delete()
vB_DataManager::db_insert()
vB_DataManager::db_insert_ignore()
vB_DataManager::db_update()
vB_DataManager::delete()
vB_DataManager::do_set()
vB_DataManager::do_unset()
vB_DataManager::error()
vB_DataManager::fetch_field()
vB_DataManager::fetch_insert_sql()
vB_DataManager::fetch_update_sql()
vB_DataManager::has_errors()
vB_DataManager::post_delete()
vB_DataManager::post_save_each()
vB_DataManager::post_save_once()
vB_DataManager::pre_delete()
vB_DataManager::pre_save()
vB_DataManager::save()
vB_DataManager::set()
vB_DataManager::setr()
vB_DataManager::setr_info()
vB_DataManager::set_bitfield()
vB_DataManager::set_condition()
vB_DataManager::set_error_handler()
vB_DataManager::set_existing()
vB_DataManager::set_failure_callback()
vB_DataManager::set_info()
vB_DataManager::strip_empty_bbcode()
vB_DataManager::strip_empty_bbcode_callback()
vB_DataManager::verify()
vB_DataManager::verify_commalist()
vB_DataManager::verify_date_array()
vB_DataManager::verify_email()
vB_DataManager::verify_image_count()
vB_DataManager::verify_ipaddress()
vB_DataManager::verify_link()
vB_DataManager::verify_list()
vB_DataManager::verify_md5()
vB_DataManager::verify_nonempty()
vB_DataManager::verify_nonzero()
vB_DataManager::verify_nonzero_or_negone()
vB_DataManager::verify_pagetext()
vB_DataManager::verify_serialized()
vB_DataManager::verify_spacelist()
vB_DataManager::verify_userid()
vB_DataManager::verify_username()
Documentation generated on Tue, 26 Jan 2010 15:15:16 -0600 by phpDocumentor 1.4.3