/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['date_format'] = $this->date_format; $arr['time_format'] = $this->time_format; return $arr; }
/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['table'] = $this->table; $arr['column'] = $this->column; $arr['foreignKey'] = $this->foreignKey; $arr['name_field'] = $this->nameField; $arr['options'] = $this->options; $arr['selfRelationship'] = $this->selfRelationship; $arr['autocomplete'] = $this->autocomplete; $arr['num_options'] = $this->numOptions; $arr['search_fields'] = $this->searchFields; $arr['constraints'] = $this->constraints; return $arr; }
/** * Turn this item into an array * * @return array */ public function toArray() { $arr = parent::toArray(); $arr['location'] = $this->location; $arr['size_limit'] = $this->sizeLimit; $arr['upload_url'] = $this->uploadUrl; return $arr; }