public function setDataFromEditmode($data) { if ($data["url"]) { $this->url = $data["url"]; } return $this; }