Ejemplo n.º 1
0
 /**
  * Clears the current object, sets all attributes to their default values and removes
  * outgoing references as well as back-references (from other objects to this one. Results probably in a database
  * change of those foreign objects when you call `save` there).
  */
 public function clear()
 {
     if (null !== $this->aSkill) {
         $this->aSkill->removeSkillVersion($this);
     }
     $this->id = null;
     $this->sport_id = null;
     $this->name = null;
     $this->alternative_name = null;
     $this->slug = null;
     $this->description = null;
     $this->history = null;
     $this->is_translation = null;
     $this->is_rotation = null;
     $this->is_acyclic = null;
     $this->is_cyclic = null;
     $this->longitudinal_flags = null;
     $this->latitudinal_flags = null;
     $this->transversal_flags = null;
     $this->movement_description = null;
     $this->sequence_picture_url = null;
     $this->variation_of_id = null;
     $this->start_position_id = null;
     $this->end_position_id = null;
     $this->is_composite = null;
     $this->is_multiple = null;
     $this->multiple_of_id = null;
     $this->multiplier = null;
     $this->generation = null;
     $this->importance = null;
     $this->picture_id = null;
     $this->video_id = null;
     $this->tutorial_id = null;
     $this->kstruktur_id = null;
     $this->function_phase_id = null;
     $this->object_id = null;
     $this->version = null;
     $this->version_created_at = null;
     $this->version_comment = null;
     $this->variation_of_id_version = null;
     $this->multiple_of_id_version = null;
     $this->kk_trixionary_skill_ids = null;
     $this->kk_trixionary_skill_ids_unserialized = null;
     $this->kk_trixionary_skill_versions = null;
     $this->kk_trixionary_skill_versions_unserialized = null;
     $this->alreadyInSave = false;
     $this->clearAllReferences();
     $this->applyDefaultValues();
     $this->resetModified();
     $this->setNew(true);
     $this->setDeleted(false);
 }