/** * Reset the properties of the object. * * <code> * $notificationId = 1; * * $notification = new Socialcommunity\Notification\Notification(\JFactory::getDbo()); * $notification->load($notificationId); * * if (...) { * $notification->reset(); * } * </code> */ public function reset() { parent::reset(); $this->status = 0; }