Summary
- File
- Package hierarchy Content\Notation
- Class hierarchy \NotationService
This class represents the rating system and its parameters
This class represents the rating system and its parameters
__static()
None found |
display_static_image(object $notation)
This function required object Notation containing the module_name, id in module and notation_scale.
object | $notation | Notation |
None found |
display_active_image(object $notation)
This function required object Notation containing the module_name, id_in_module, user_id, note and notation_scale.
object | $notation | Notation |
None found |
update_notation_scale(string $module_name, string $old_notation_scale, string $new_notation_scale)
This fonction update notation scale by module_name
string | $module_name | |
string | $old_notation_scale | |
string | $new_notation_scale |
None found |
delete_notes_id_in_module(string $module_name, string $id_in_module)
This fonction delete all notes by id module and id in module element
string | $module_name | |
string | $id_in_module |
None found |
delete_notes_module(string $module_name)
This fonction delete all notes by module
string | $module_name |
None found |
get_number_notes(\Notation $notation)
This function required object Notation containing the module_name and id_in_module.
\Notation | $notation |
None found |
get_average_notes(\Notation $notation)
This function required object Notation containing the module_name and id_in_module.
\Notation | $notation |
None found |
get_informations_note(\Notation $notation)
This function required object Notation containing the module_name, id_in_module and user_id.
\Notation | $notation |
None found |
register_notation(\Notation $notation)
\Notation | $notation |
None found |
calculates_average_notes(\Notation $notation)
\Notation | $notation |
None found |