Stud.IP  trunk Revision
week.php File Reference

Variables

 $at = date('G', $atime)
 
if($at >=$settings['start'] && $at<=$settings['end']||! $atime) elseif($at< $settings['start']) else
 
 $end = 23
 
 $tab_arr = []
 
 $max_columns = 0
 
 $week_type = $settings['type_week'] == 'SHORT' ? 5 : 7
 
 $rows = ($end - $start + 1) * 3600 / $settings['step_week']
 
for($i=0; $i< $week_type; $i++) $rowspan = ceil(3600 / $settings['step_week'])
 
 $height = ' height="20"'
 
 $colspan_2 = $max_columns + 2
 
 $width_daycols = 100 - (2 + $week_type) * 0.1
 
 $calType = 'week'
 
 $calLabel = $this->render_partial('calendar/single/_calhead_label_week', compact('week_type'))
 
if($rowspan > 1) width = Icon::create('arr_1right', 'clickable', ['title' => _('Eine Woche vor')])->asImg(16, ['style' => 'vertical-align: text-top;'])
 
 endfor
 
<? endif;?></colgroup >< thead >< tr >< td style="text-align: center; white-space: nowrap;"<?=$colspan_1 ?><? if( $start > endif<? for( $i=0;$i< $week_type;$i++) :?>< td style="text-align:center; font-weight:bold;"<?=( $tab_arr[ $i][ 'max_cols'] > $tab_arr [$i]['max_cols'] = Icon::create('arr_1up', 'clickable', ['title' => _('Früher')])->asImg()
 
<? endif;?></colgroup >< thead >< tr >< td style="text-align: center; white-space: nowrap;"<?=$colspan_1 ?><? if( $start > endif<? for( $i=0;$i< $week_type;$i++) :?>< td style="text-align:center; font-weight:bold;"<?=( $tab_arr[ $i][ 'max_cols'] > getStart()]) ?>"> <span class if ( $holiday=holiday( $calendars[ $i]->getStart())) color = date('d', $calendars[$i]->getStart())
 
height __pad39__
 
overflow __pad40__
 
font weight
 

Variable Documentation

◆ $at

$at = date('G', $atime)

◆ $calLabel

$calLabel = $this->render_partial('calendar/single/_calhead_label_week', compact('week_type'))

◆ $calType

$calType = 'week'

◆ $colspan_2

$colspan_2 = $max_columns + 2

◆ $end

$end = 23

◆ $height

$height = ' height="20"'

◆ $max_columns

$max_columns = 0

◆ $rows

$rows = ($end - $start + 1) * 3600 / $settings['step_week']

◆ $rowspan

for ( $i=0;$i< $week_type;$i++) $rowspan = ceil(3600 / $settings['step_week'])

◆ $tab_arr [1/2]

$tab_arr = []

◆ $tab_arr [2/2]

<? endif; ?></colgroup><thead><tr><td style="text-align: center; white-space: nowrap;" <?= $colspan_1 ?><? if ($start > endif<? for ($i = 0; $i < $week_type; $i++) : ?><td style="text-align:center; font-weight:bold;"<?= ($tab_arr[$i]['max_cols'] > $tab_arr[ $i][ 'max_cols'] = Icon::create('arr_1up', 'clickable', ['title' => _('Früher')])->asImg()

◆ $week_type

$week_type = $settings['type_week'] == 'SHORT' ? 5 : 7

◆ $width_daycols

$width_daycols = 100 - (2 + $week_type) * 0.1

◆ __pad39__

height __pad39__

◆ __pad40__

overflow __pad40__

◆ color

<? endif; ?></colgroup><thead><tr><td style="text-align: center; white-space: nowrap;" <?= $colspan_1 ?><? if ($start > endif<? for ($i = 0; $i < $week_type; $i++) : ?><td style="text-align:center; font-weight:bold;"<?= ($tab_arr[$i]['max_cols'] > getStart ()]) ?>"> <span class if ( $holiday=holiday( $calendars[ $i]->getStart())) color = date('d', $calendars[$i]->getStart())

◆ else

if($minutes == 0) ($y = 0; $y < $week_type; $y++) (date( 'Ymd', $calendars[ $y]->getStart())==date( 'Ymd')) else
Initial value:
{
$start = $settings['end'] - 2
$start
Definition: week.php:5

◆ endfor

endfor

◆ weight

font weight

◆ width

if ( $rowspan > 1) width = Icon::create('arr_1right', 'clickable', ['title' => _('Eine Woche vor')])->asImg(16, ['style' => 'vertical-align: text-top;'])