Stud.IP  4.2 Revision
admin_sem_tree.php File Reference

Variables

 if (! $perm->is_fak_admin())
 
 $view = DbView::getView('sem_tree')
 
 $the_tree = new StudipSemTreeViewAdmin(Request::option('start_item_id'))
 
 $search_obj = new StudipSemSearch()
 
 $_open_items =& $the_tree->open_items
 
 $_open_ranges =& $the_tree->open_ranges
 
 $_possible_open_items = array()
 
if(!Config::GetInstance() ->getValue('SEM_TREE_ALLOW_BRANCH_ASSIGN')) else
 
$search_obj attributes_default = ['style' => '']
 
 $cols = 50
 
if(is_array($_SESSION['_marked_sem']) &&count($_SESSION['_marked_sem'])) if (is_array( $_possible_open_items) &&count( $_possible_open_items) &&!(count( $_possible_open_items)==1 &&$_possible_open_items[ 'root'])) = Button::create(_('OK'), array('title' => _("Gewählte Aktion starten")))
 
 $template = $GLOBALS['template_factory']->open('layouts/base.php')
 
$template content_for_layout = ob_get_clean()
 

Variable Documentation

◆ $_open_items

$_open_items =& $the_tree->open_items

◆ $_open_ranges

$_open_ranges =& $the_tree->open_ranges

◆ $_possible_open_items

$_possible_open_items = array()

◆ $cols

$cols = 50

◆ $search_obj

$search_obj = new StudipSemSearch()

◆ $template

$template = $GLOBALS['template_factory']->open('layouts/base.php')

◆ $the_tree

$the_tree = new StudipSemTreeViewAdmin(Request::option('start_item_id'))

◆ $view

$view = DbView::getView('sem_tree')

◆ attributes_default

$search_obj attributes_default = ['style' => '']

◆ content_for_layout

$template content_for_layout = ob_get_clean()

◆ else

if (!Config::GetInstance() ->getValue( 'SEM_TREE_ALLOW_BRANCH_ASSIGN')) else
Initial value:
{
$_open_items
Definition: admin_sem_tree.php:53
$_possible_open_items
Definition: admin_sem_tree.php:55

◆ if [1/2]

if(! $perm->is_fak_admin())

◆ if [2/2]

if (is_array( $_SESSION[ '_marked_sem']) &&count( $_SESSION[ '_marked_sem'])) if(is_array($_possible_open_items) &&count($_possible_open_items) &&!(count($_possible_open_items)==1 && $_possible_open_items['root'])) = Button::create(_('OK'), array('title' => _("Gewählte Aktion starten")))