Group save

From Catglobe Wiki
Jump to: navigation, search



Group_save

Save a group object to the database

Syntax

Group_save(groupObject)

Arguments

  • groupObject: is an array. It is the group object which has the same format as what generated by Group_new function

Return value

empty

Example

array group = Group_new("My new group", 33672622, 33703074);

group[GROUP_TIME_REGISTRATION] = true;

group[GROUP_CALCULATED_MAN_HOURS] = true;

Group_save(group);

Availability

Version 5.6