Stud.IP  jlu_3.3 Revision
extern_edit_module.inc.php File Reference

Namespaces

namespace  studip_extern
 

Variables

if(Request::option('com')=='new') $module = FALSE
 
if(Request::option('com')=='new') else
 
 $element_command = FALSE
 
 $edit = Request::option('edit')
 
if($edit) $elements = $module->getAllElements()
 
 $edit_open = ""
 
foreach($elements as $element) if(Request::option( 'com')=='new'||Request::option( 'com')=='edit'||Request::option( 'com')=='open'||Request::option( 'com')=='close') if (Request::option( 'com')=='store')
 
 if (! $edit_open[ $edit])
 
 $info_edit_element = _("Um die Werte eines einzelnen Elements zu ändern, klicken Sie bitte den "Übernehmen"-Button innerhalb des jeweiligen Elements.")
 

Variable Documentation

◆ $edit

◆ $edit_open

$edit_open = ""

◆ $element_command

$element_command = FALSE

◆ $elements

if ( $edit) $elements = $module->getAllElements()

◆ $info_edit_element

$info_edit_element = _("Um die Werte eines einzelnen Elements zu ändern, klicken Sie bitte den "Übernehmen"-Button innerhalb des jeweiligen Elements.")

◆ $module

if (Request::option( 'com')=='new') $module = FALSE

◆ else

if ( $module->getType() !=0) else
Initial value:
{
foreach ($GLOBALS['EXTERN_MODULE_TYPES'] as $type) {
if ($type["module"] == $mod) {
}
}
}
if (!$module)
die("Unknown module type")
$mod
Definition: admin_extern.inc.php:77
$config_id
Definition: admin_extern.inc.php:59
GetInstance($range_id, $module_name, $config_id=NULL, $set_config=NULL, $global_id=NULL)
Definition: ExternModule.class.php:67
$range_id
Definition: extern.inc.php:60
if(Request::option('com')=='new') $module
Definition: extern_edit_module.inc.php:53
die
Definition: inst_admin.php:28
$GLOBALS['template_factory']
Definition: bootstrap.php:90
global $type
Definition: vote_edit.lib.php:47

◆ if [1/2]

if(! $edit_open[$edit]) ( $edit_open[ $edit])

◆ if [2/2]

foreach( $elements as $element) if(Request::option('com')=='new'||Request::option('com')=='edit'||Request::option('com')=='open'||Request::option('com')=='close') if(Request::option('com')=='store') ( Request::option( 'com')  = = 'store')