public function setDataFromEditmode($data) { if (is_array($data)) { $this->elementIds = $data; } return $this; }