/** * Saves a group object within the current application. * * @param UmgtGroup $group current group. * * @return int The id of the group. * * @author Christian Achatz * @version * Version 0.1, 15.06.2008<br /> */ public function saveGroup(UmgtGroup &$group) { $app = $this->getCurrentApplication(); $group->addRelatedObject('Application2Group', $app); return $this->getORMapper()->saveObject($group); }