public function fieldType($field) { $fields = $this->fields(); return $this->fieldExists($field) ? $fields[$field]['type'] : false; }