function update($oContentClass = null) { if (!$this->exists()) { throw new AnwUnexpectedException("A non-existing pagegroup can't be saved"); } AnwStorage::updatePageGroup($this); }