public function config() { if ($this->multiple) { $this->type = "multipleItems"; } return parent::config(); }
public function config() { $arr = parent::config(); return array_merge(array("limit" => $this->limit, "has_caption" => $this->hasCaption, "show_filename" => $this->showFilename, "update_url" => "api/" . $this->updateURL, "accepts" => implode(",", $this->accepts)), $arr); }