function updatePageset($values, $object) { $object = section::_updateCommon($values, $object); $object->active = 1; $object->public = isset($values['public']) ? 1 : 0; // Can't really do much with pageset updating, because we // need to save the section before we can add subsections or copy // any content. return $object; }