Example #1
0
 public function config()
 {
     if ($this->multiple) {
         $this->type = "multipleItems";
     }
     return parent::config();
 }
Example #2
0
 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);
 }