function export_to_db() { $array = parent::export_to_db(); $array["includes_tshirt"] = self::bool_to_db($this->includes_tshirt); $array["available_at_door"] = self::bool_to_db($this->available_at_door); return $array; }
function export_to_db() { $array = parent::export_to_db(); if ($this->password) { $array["encrypted_password"] = password_hash($this->password, PASSWORD_BCRYPT); } $array["admin"] = self::bool_to_db($this->admin); return $array; }
function export_to_db() { $array = parent::export_to_db(); $array["at_door"] = self::bool_to_db($this->at_door); return $array; }
function export_to_db() { $array = parent::export_to_db(); $array["attributes"] = json_encode($this->attributes); return $array; }
function export_to_db() { $array = parent::export_to_db(); $array["badge_number"] = self::nullable_string_to_db($this->badge_number); $array["birthdate"] = self::date_to_db($this->birthdate); $array["phone_number"] = self::phone_to_db($this->phone_number); $array["newsletter"] = self::bool_to_db($this->newsletter); $array["tshirt_size"] = self::nullable_string_to_db($this->tshirt_size); $array["override_price"] = self::override_price_to_db($this->override_price); $array["at_door"] = self::bool_to_db($this->at_door); $array["blacklisted"] = self::bool_to_db($this->blacklisted); $array["blacklist_type"] = self::nullable_string_to_db($this->blacklist_type); $array["blacklist_message"] = self::nullable_string_to_db($this->blacklist_message); $array["adult_legal_name"] = self::nullable_string_to_db($this->adult_legal_name); $array["adult_relationship"] = self::nullable_string_to_db($this->adult_relationship); $array["adult_phone_number"] = self::nullable_string_to_db($this->adult_phone_number); $array["adult_badge_number"] = self::nullable_string_to_db($this->adult_badge_number); $array["checked_in"] = self::bool_to_db($this->checked_in); $array["paid"] = self::bool_to_db($this->paid); $array["canceled"] = self::bool_to_db($this->canceled); $array["created_at"] = $this->created_at; $array["notes"] = self::nullable_string_to_db($this->notes); return $array; }
function export_to_db() { $array = parent::export_to_db(); $array["override_price"] = self::override_price_to_db($this->override_price); return $array; }