Private Method Details |
set |
private void set( )
|
|
vajalik
|
Returns |
void |
|
items |
private void items( )
|
|
ei tea kas on tarvis
|
Returns |
void |
|
size |
private void size( )
|
|
vajalik
|
Returns |
void |
|
comma_separated |
private string comma_separated( )
|
|
Group :: comma_separated()
Mõeldud kasutamiseks SQL-s, kui objekti array on tühi väljastab 'NULL' (IN (NULL) on ok sql-s)
|
Returns |
string |
|
in_group |
private void in_group( $group )
|
|
vajalik //praegu mitte
Kas kõik $this grupi liikmed on ka parameetrina antud grupis?
|
Parameter |
|
|
$group |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&intersection |
private void &intersection( $group )
|
|
vajalik
Selle ja teise hulga ühisosa
|
Parameter |
|
|
$group |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
in_phase |
private void in_phase( $mask )
|
|
vajalik
Kas kõik $this grupi liikmed on antud faasi(de)s? Mida see teeks initsialiseerimata obj puhul? Mitte midagi - lihtsalt tühi grupp ju. Erinevalt g-st mille puhul initsialiseerimatus tähendab obj-i puudumist, siin on aga tegemist tühja arrayga.
|
Parameter |
|
|
$mask |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_points |
private void add_points( integer $nr, string $mask )
|
|
vajalik
Warning: documentation is missing.
|
Parameter |
|
integer |
$nr |
|
|
Warning: documentation is missing. |
|
|
string |
$mask |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_full_points |
private void add_full_points( )
|
|
vajalik
Warning: documentation is missing.
|
Returns |
void |
|
&get_leader |
private void &get_leader( )
|
|
Group::get_leader()
|
Returns |
void |
|
&get_by_mask |
private void &get_by_mask( $mask )
|
|
Peab igal juhul väljastama obj-i
|
Parameter |
|
|
$mask |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
&get_random |
private void &get_random( integer $nr )
|
|
////Väljastab kas Person (1) või Group (rohkem)
Väljastab alati Group (1 või rohkem liiget) Kui selle grupi seas on vähem persoone kui nõutud, antakse nii palju kui on...? ehk siis kõik? sest üks liige korduda ei saa, aga kas ei või juhtuda, et mingi tõenäosusega jääb keegi ikkagi välja: teostan valikut 3x 3-e seast (a,b,c). 1)a 2)c 3)a => jääb (a,c). Seda tuleks vältida.
|
Parameter |
|
integer |
$nr |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
init |
private void init( )
|
|
initsialiseerimine, kutsutakse välja konstruktorist.
Warning: documentation is missing.
|
Returns |
void |
|
save_subjects |
private void save_subjects( $week )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$week |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
load_subjects |
private void load_subjects( $week )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$week |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_group |
private void add_group( $group )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$group |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
remove_group |
private void remove_group( $group )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$group |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
set_ids |
private void set_ids( $ids )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$ids |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_ids |
private void add_ids( $ids )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$ids |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
remove_ids |
private void remove_ids( $ids )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$ids |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_id |
private void add_id( $id )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$id |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
add_person |
private void add_person( $person )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$person |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
remove_id |
private void remove_id( $id )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$id |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
remove_person |
private void remove_person( $person )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$person |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
set_all |
private void set_all( )
|
|
Warning: documentation is missing.
|
Returns |
void |
|
get_items |
private void get_items( )
|
|
See funktsioon defineeritakse järglasklasside poolt uuesti.
Warning: documentation is missing.
|
Returns |
void |
|
get |
private void get( $person_id )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$person_id |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|
get_areas_condition |
private void get_areas_condition( $mask )
|
|
Warning: documentation is missing.
|
Parameter |
|
|
$mask |
|
|
Warning: documentation is missing. |
|
Returns |
void |
|