Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Admin_DomainController Class Reference
Inheritance diagram for Admin_DomainController:
AuthenticatedController StudipController

Public Member Functions

 before_filter (&$action, &$args)
 
 extract_action_and_args ($string)
 
 validate_args (&$args, $types=NULL)
 
 index_action ()
 
 edit_action ($id=null)
 
 save_action ($domain_id=null)
 
 delete_action ($id)
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 erase_response ()
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=null)
 
 url_for ($to= '')
 
 link_for ($to= '')
 
 redirect ($to)
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter= ';', $enclosure= '"')
 
 render_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 render_temporary_file ($file, $filename=null, $content_type=null, $content_disposition= 'attachment', Closure $callback=null, $chunk_size=262144)
 
 relay ($to_uri)
 
 relayWithRedirect (...$args)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 
 __call ($method, $arguments)
 
 has_action ($action)
 
 action_url ($action)
 
 action_link ($action)
 
 validate_datetime ($datetime, $format= 'H:i')
 

Additional Inherited Members

- Protected Member Functions inherited from StudipController
 render_pdf (TCPDF $pdf, $filename, $inline=false)
 
 controller_path ()
 
 getBodyElementIdForControllerAndAction ($unconsumed_path)
 
- 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 ( $action,
$args 
)

common tasks for all actions

delete_action (   $id)

Delete an existing user domain.

edit_action (   $id = null)

Edit an existing user domain.

extract_action_and_args (   $string)

Extracts action and args from a string. Specialized to allow dots in the argument.

Parameters
stringthe processed string
Returns
array an array with two elements - a string containing the action and an array of strings representing the args
index_action ( )

Display the list of user domains.

save_action (   $domain_id = null)

Save changes to a user domain.

validate_args ( $args,
  $types = NULL 
)

Validate arguments based on a list of given types. The types are: 'int', 'float', 'option' and 'string'. If the list of types is NULL or shorter than the argument list, 'option' is assumed for all remaining arguments. 'option' differs from Request::option() in that it also accepts the charaters '-' and ',' in addition to all word charaters.

Parameters
arrayan array of arguments to the action
arraylist of argument types (optional)

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