function set_existing(&$existing) { parent::set_existing($existing); if (isset($existing['votes'])) { $this->poll_votes = explode('|||', $existing['votes']); } if (isset($existing['options'])) { $this->poll_options = explode('|||', $existing['options']); } }