Sponsorenverwaltung - Team StarCraft e.V.
 All Data Structures Files Functions Variables
sponsors_deleted.php File Reference

This file handles the permanent deletion of sponsors and sponsorcars. More...

Go to the source code of this file.

Variables

const ACTION_NOTHING 0
 constant for doing nothing on the data also used in sponsors_deleted.tpl More...
 
const ACTION_RESTORE 1
 constant for doing restore operation on the data also used in sponsors_deleted.tpl More...
 
const ACTION_DELETE 2
 constant for doing delete operation on the data also used in sponsors_deleted.tpl More...
 

Detailed Description

This file handles the permanent deletion of sponsors and sponsorcars.

This script presents a view of all deleted sponsors in the backup-tables as well as an overview of still existing sponsor were some sponsorcars were deleted. The root-user/main-administrator has the posibility to clear those backups from the corresponding tables.

This file needs the template templates/sponsors_deleted.tpl to be present to work. Furthermore it needs the common.php and the functions_sponsoring.php in the directory /inc to work properly. To get to know more about their dependencies check the description of the corresponding files.

This file can handle the following inputs:

  • $_GET: tab [ 1 | 2 ] to determine which view the user came from
  • $_POST: action and actionCars as POST-arrays with the sponsorcar ids as keys and the actions as values [ 0 -> do nothing | 1 -> restore (not implemented) | 2 -> delete] For more detailed informations please consider studying the sponsors_deleted.tpl.

This file depends on inc/common.php and inc/templates/sponsors_deleted.tpl.

Version
1.0.0
Author
Alexander Vorndran
Daniel Seichter
Florian Wirthmüller
Date
02.07.2013

Definition in file sponsors_deleted.php.

Variable Documentation

const ACTION_DELETE 2

constant for doing delete operation on the data also used in sponsors_deleted.tpl

Definition at line 42 of file sponsors_deleted.php.

const ACTION_NOTHING 0

constant for doing nothing on the data also used in sponsors_deleted.tpl

Definition at line 36 of file sponsors_deleted.php.

const ACTION_RESTORE 1

constant for doing restore operation on the data also used in sponsors_deleted.tpl

Definition at line 39 of file sponsors_deleted.php.