public function toObject($dbObject = null, $propertiesToSkip = array())
 {
     if (is_null($dbObject)) {
         $dbObject = new kEmailNotificationStaticRecipientProvider();
     }
     return parent::toObject($dbObject, $propertiesToSkip);
 }
 public function toObject($dbObject = null, $propertiesToSkip = array())
 {
     $this->validate();
     if (is_null($dbObject)) {
         $dbObject = new kEmailNotificationCategoryRecipientProvider();
     }
     return parent::toObject($dbObject, $propertiesToSkip);
 }