Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
Admin_BannerController Class Reference
Inheritance diagram for Admin_BannerController:
Inheritance graph
Collaboration diagram for Admin_BannerController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 index_action ()
 info_action ($banner_id)
 edit_action ($banner_id)
 new_action ()
 reset_action ($banner_id)
 delete_action ($banner_id)
- Public Member Functions inherited from AuthenticatedController
 after_filter ($action, $args)
- Public Member Functions inherited from StudipController
 validate_args (&$args, $types=NULL)
 url_for ($to)
 rescue ($exception)
 setInfoBoxImage ($image)
 addToInfobox ($category, $text, $icon= 'blank.gif')

Protected Member Functions

 valid_date ($h, $m, $d, $mo, $y)
 addInfobox ()

Member Function Documentation

addInfobox ( )
protected

Extends this controller with neccessary infobox

Parameters
String$viewCurrently viewed group

Here is the call graph for this function:

Here is the caller graph for this function:

before_filter ( $action,
$args 
)

Common tasks for all actions.

Reimplemented from AuthenticatedController.

Here is the call graph for this function:

delete_action (   $banner_id)
Parameters
type$banner_id

Here is the call graph for this function:

edit_action (   $banner_id)

Displays edit form and performs according actions upon submit

Parameters
int$banner_idId from the banner-object

Here is the call graph for this function:

index_action ( )

Administration view for banner

Here is the call graph for this function:

info_action (   $banner_id)

Here is the call graph for this function:

new_action ( )

Create a new banner

Here is the call graph for this function:

reset_action (   $banner_id)

Resets the click and view counter for the given banner

Parameters
string$banner_id

Here is the call graph for this function:

valid_date (   $h,
  $m,
  $d,
  $mo,
  $y 
)
protected

Validate the date

Parameters
Int$hhour
Int$mminute
Int$dday
Int$momonth
Int$yyear

Here is the caller graph for this function:


The documentation for this class was generated from the following file: