Private Method Details |
get_week |
private void get_week( )
|
|
Väljastab jooksva nädala (millel tegevust pole veel alustatud või on lõpetamata/pooleli)
|
Returns |
void |
|
add_weeks |
private void add_weeks( $nr )
|
|
Lisab jooksvale nädalale juurde $nr nädalat.
Peab tegema koos Actioni lisamisega! Actioni lisamine võiks selle välja kutsuda
|
Parameter |
|
|
$nr |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
get_weeks_left |
private void get_weeks_left( )
|
|
Väljastab, mitu nädalat on veel mängida.
|
Returns |
void |
|
get_week_offset |
private void get_week_offset( )
|
|
nii mitu nädalat tuleb liita alguskuupäevale et saada jooksev kuupäev
|
Returns |
void |
|
get_begin_date |
private void get_begin_date( )
|
|
Does ...
|
Returns |
void |
|
get_date |
private void get_date( )
|
|
Does ...
|
Returns |
void |
|
get_month |
private integer get_month( )
|
|
Does ...
|
Returns |
integer |
|
is_game_end |
private void is_game_end( )
|
|
Siis kui viimane nädal on tegevusega täidetud ja 0 nädalat on jäänud mängu lõpuni
ehk et ühtegi tegevust enam teha ei saa.
|
Returns |
void |
|
&get_action |
private void &get_action( integer $week )
|
|
Idee:
Teeb kindlaks mis klassist on action ja initsialiseerib selle, siis kutsub välja tolle load()-i mis omakorda vajadusel loob enda sees group-i, ning kutsub välja selle load_subjects
|
Parameter |
|
|
Returns |
void |
|
&get_actions_between |
private array &get_actions_between( $beg_week, $end_week )
|
|
Does ...
|
Parameter |
|
|
$beg_week |
|
|
Warning: documentation is missing. |
|
|
|
$end_week |
|
|
Warning: documentation is missing. |
|
Returns |
array of actions |
|
&get_actions_from |
private void &get_actions_from( $nr, $beg_week )
|
|
Does ...
|
Parameter |
|
|
$nr |
|
|
Warning: documentation is missing. |
|
|
|
$beg_week |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get_actions_to |
private void &get_actions_to( $nr, $end_week )
|
|
Annab $nr actionit kuni
|
Parameter |
|
|
$nr |
|
|
Warning: documentation is missing. |
|
|
|
$end_week |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get_last_actions |
private void &get_last_actions( $nr )
|
|
Annab $nr viimast actionit
|
Parameter |
|
|
$nr |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_action |
private void add_action( $action )
|
|
Does ...
|
Parameter |
|
|
$action |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get_subjects |
private void &get_subjects( $week )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$week |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
get_last_action_week_by_type |
private void get_last_action_week_by_type( $action_id )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$action_id |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get_last_action_by_type |
private void &get_last_action_by_type( $action_id )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$action_id |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|