Class Module_warnings

Description

Module page class.

  • copyright: ocProducts Ltd

Located in /site/pages/modules/warnings.php (line 26)

standard_aed_module
   |
   --Module_warnings
Variable Summary
Method Summary
ID_TEXT add_actualisation ()
void delete_actualisation (ID_TEXT $id)
void edit_actualisation (ID_TEXT $id)
tempcode fill_in_edit_form (ID_TEXT $id)
?array get_entry_points ()
array get_form_fields ([boolean $new = true], [LONG_TEXT $explanation = ''], [BINARY $is_warning = 0], [?MEMBER $member_id = NULL])
array get_submitter (ID_TEXT $id)
tempcode history ()
boolean may_delete_this (ID_TEXT $_id)
tempcode nice_get_entries ()
tempcode run_start (ID_TEXT $type)
tempcode undo_banned_ip ()
tempcode undo_banned_member ()
tempcode undo_charge ()
tempcode undo_probation ()
Variables
mixed $lang_type = 'WARNING' (line 28)
mixed $menu_label = 'MODULE_TRANS_NAME_warnings' (line 32)

Redefinition of:
standard_aed_module::$menu_label
mixed $redirect_type = '!' (line 31)

Redefinition of:
standard_aed_module::$redirect_type
mixed $select_name = 'SUBMITTER' (line 29)
mixed $select_name_description = 'DESCRIPTION_SUBMITTER' (line 30)

Redefinition of:
standard_aed_module::$select_name_description

Inherited Variables

Inherited from standard_aed_module

standard_aed_module::$add_one_cat_label
standard_aed_module::$add_one_label
standard_aed_module::$add_submit_name
standard_aed_module::$add_text
standard_aed_module::$alt_aed_module
standard_aed_module::$appended_actions_already
standard_aed_module::$archive_entry_point
standard_aed_module::$archive_label
standard_aed_module::$array_key
standard_aed_module::$author
standard_aed_module::$award_type
standard_aed_module::$care_please
standard_aed_module::$catalogue
standard_aed_module::$cat_aed_module
standard_aed_module::$check_validation
standard_aed_module::$code_require
standard_aed_module::$default_type
standard_aed_module::$do_next_description
standard_aed_module::$do_next_editing_categories
standard_aed_module::$do_preview
standard_aed_module::$edit_one_cat_label
standard_aed_module::$edit_one_label
standard_aed_module::$edit_submit_name
standard_aed_module::$edit_text
standard_aed_module::$edit_this_cat_label
standard_aed_module::$edit_this_label
standard_aed_module::$extra_donext_categories
standard_aed_module::$extra_donext_entries
standard_aed_module::$extra_donext_whatever
standard_aed_module::$extra_donext_whatever_title
standard_aed_module::$javascript
standard_aed_module::$javascript_require
standard_aed_module::$module_type
standard_aed_module::$new_id
standard_aed_module::$non_integer_id
standard_aed_module::$no_blank_ids
standard_aed_module::$orderer
standard_aed_module::$organisation
standard_aed_module::$output_of_action_is_confirmation
standard_aed_module::$permissions_cat_name
standard_aed_module::$permissions_cat_name_b
standard_aed_module::$permissions_cat_require
standard_aed_module::$permissions_cat_require_b
standard_aed_module::$permissions_require
standard_aed_module::$permission_module
standard_aed_module::$permission_page
standard_aed_module::$possibly_some_kind_of_upload
standard_aed_module::$posting_form_text
standard_aed_module::$posting_form_text_parsed
standard_aed_module::$posting_form_title
standard_aed_module::$protect_first
standard_aed_module::$second_stage_preview
standard_aed_module::$send_validation_request
standard_aed_module::$seo_type
standard_aed_module::$skip_validation
standard_aed_module::$special_edit_frontend
standard_aed_module::$table
standard_aed_module::$table_prefix
standard_aed_module::$title_is_multi_lang
standard_aed_module::$type_code
standard_aed_module::$upload
standard_aed_module::$user_facing
standard_aed_module::$view_entry_point
Methods
add_actualisation (line 468)

Standard aed_module add actualiser.

  • return: The entry added
ID_TEXT add_actualisation ()
delete_actualisation (line 685)

Standard aed_module delete actualiser.

void delete_actualisation (ID_TEXT $id)
  • ID_TEXT $id: The entry being deleted
edit_actualisation (line 662)

Standard aed_module edit actualiser.

void edit_actualisation (ID_TEXT $id)
  • ID_TEXT $id: The entry being edited
fill_in_edit_form (line 454)

Standard aed_module edit form filler.

  • return: The edit form
tempcode fill_in_edit_form (ID_TEXT $id)
  • ID_TEXT $id: The entry being edited
get_entry_points (line 39)

Standard modular entry-point finder function.

  • return: A map of entry points (type-code=>language-code) (NULL: disabled).
?array get_entry_points ()

Redefinition of:
standard_aed_module::get_entry_points()
Standard modular entry-point finder function.
get_form_fields (line 293)

Get tempcode for a warning adding/editing form.

  • return: A pair: the tempcode for the visible fields, and the tempcode for the hidden fields
array get_form_fields ([boolean $new = true], [LONG_TEXT $explanation = ''], [BINARY $is_warning = 0], [?MEMBER $member_id = NULL])
  • boolean $new: Whether it is a new warning/punishment record
  • LONG_TEXT $explanation: The explanation for the warning/punishment record
  • BINARY $is_warning: Whether to make this a formal warning
  • ?MEMBER $member_id: The member the warning is for (NULL: get from environment)
get_submitter (line 673)

Standard aed_module submitter getter.

  • return: The submitter, and the time of submission (null submission time implies no known submission time)
array get_submitter (ID_TEXT $id)
  • ID_TEXT $id: The entry for which the submitter is sought
history (line 77)

View the warning/punishment history for a member.

  • return: The output of the run
tempcode history ()
may_delete_this (line 425)

Standard aed_module delete possibility checker.

  • return: Whether it may be deleted
boolean may_delete_this (ID_TEXT $_id)
  • ID_TEXT $_id: The entry being potentially deleted
nice_get_entries (line 436)

Standard aed_module list function.

  • return: The selection list
tempcode nice_get_entries ()

Redefinition of:
standard_aed_module::nice_get_entries()
Standard modular entry list fetcher.
run_start (line 50)

Standard aed_module run_start.

  • return: The output of the run
tempcode run_start (ID_TEXT $type)
  • ID_TEXT $type: The type of module execution
undo_banned_ip (line 187)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_banned_ip ()
undo_banned_member (line 211)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_banned_member ()
undo_charge (line 141)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_charge ()
undo_probation (line 164)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_probation ()
undo_silence_from_forum (line 261)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_silence_from_forum ()
undo_silence_from_topic (line 233)

Actualiser to undo a certain type of punitive action.

  • return: Result (redirect page)
tempcode undo_silence_from_topic ()

Inherited Methods

Inherited From standard_aed_module

standard_aed_module::ad()
standard_aed_module::choose_catalogue()
standard_aed_module::do_next_manager()
standard_aed_module::ed()
standard_aed_module::get_entry_points()
standard_aed_module::get_permission_fields()
standard_aed_module::handle_confirmations()
standard_aed_module::info()
standard_aed_module::nice_get_entries()
standard_aed_module::preview_intercept()
standard_aed_module::run()
standard_aed_module::set_permissions()
standard_aed_module::_ad()
standard_aed_module::_ed()
standard_aed_module::__ed()

Documentation generated on Sun, 02 Jan 2011 23:28:40 +0000 by phpDocumentor 1.4.3