Stud.IP  3.2 Revision
DocumentController Class Reference
Inheritance diagram for DocumentController:
Inheritance graph
Collaboration diagram for DocumentController:
Collaboration graph

Public Member Functions

 before_filter (&$action, &$args)
 
 url_for_parent_directory ($entry, $parent_id=null)
 
- 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)
 
 setInfoBoxImage ($image)
 
 addToInfobox ($category, $text, $icon='blank.gif')
 
 render_json ($data)
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 

Protected Member Functions

 setDialogLayout ($icon=false)
 
 getPageForIndex ($index, $limit=null)
 
- Protected Member Functions inherited from StudipController
 populateInfobox ()
 

Additional Inherited Members

- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 
 $encoding = "windows-1252"
 
 $utf8decode_xhr = false
 

Member Function Documentation

◆ before_filter()

before_filter ( $action,
$args 
)
Here is the call graph for this function:

◆ getPageForIndex()

getPageForIndex (   $index,
  $limit = null 
)
protected

Returns the page to display for a certain index of a file.

Parameters
int$indexIndex of the file
mixed$limitOptional numeric limit (defaults to configured limit)
Returns
int Page to display for given index
Here is the caller graph for this function:

◆ setDialogLayout()

setDialogLayout (   $icon = false)
protected
Here is the call graph for this function:
Here is the caller graph for this function:

◆ url_for_parent_directory()

url_for_parent_directory (   $entry,
  $parent_id = null 
)
Here is the call graph for this function:
Here is the caller graph for this function:

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