Stud.IP  trunk Revision
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 $banner)
 
 edit_action (Banner $banner)
 
 new_action ()
 
 reset_action (Banner $banner)
 
 delete_action (Banner $banner)
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to='')
 
 link_for ($to='')
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 

Protected Member Functions

 valid_date ($h, $m, $d, $mo, $y)
 
 setSidebar ()
 
- Protected Member Functions inherited from StudipController
 controller_path ()
 

Protected Attributes

 $_autobind = true
 
- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $_autobind = false
 

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)

Common tasks for all actions.

Here is the call graph for this function:

◆ delete_action()

delete_action ( Banner  $banner)
Parameters
Banner$banner
Here is the call graph for this function:

◆ edit_action()

edit_action ( Banner  $banner)

Displays edit form and performs according actions upon submit

Parameters
Banner$bannerBanner object
Here is the call graph for this function:

◆ index_action()

index_action ( )

Administration view for banner

Here is the call graph for this function:

◆ info_action()

info_action ( Banner  $banner)
Here is the call graph for this function:

◆ new_action()

new_action ( )

Create a new banner

Here is the call graph for this function:

◆ reset_action()

reset_action ( Banner  $banner)

Resets the click and view counter for the given banner

Parameters
Banner$banner
Here is the call graph for this function:

◆ setSidebar()

setSidebar ( )
protected

Extends this controller with neccessary sidebar

Parameters
String$viewCurrently viewed group
Here is the call graph for this function:
Here is the caller graph for this function:

◆ valid_date()

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:

Field Documentation

◆ $_autobind

$_autobind = true
protected

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