
# App\Users\Models\ProfileField

> ProfileField Model

* public [__construct](__construct.md)(int &#36;id, [ bool &#36;show_in_form = true ], [ int &#36;order_num = '0' ], [ string &#36;form_field = 'textbox' ], [ string &#36;alias = '' ], [ string &#36;default_value = '' ], [ string &#36;name = '' ], [ ?string &#36;options = null ]):.md
* public  static[all](all.md)([ string &#36;sort_by = 'id' ], [ string &#36;sort_dir = 'asc' ], [ int &#36;limit = '0' ], [ int &#36;offset = '0' ]): ModelIterator.md
* public  static[count](count.md)([ string &#36;where_sql = '' ], [ ... &#36;args ]): int.md
* public [delete](delete.md)(): void.md
* public  static[deleteMany](deletemany.md)(string &#36;where_sql, [ ... &#36;args ]): int.md
* public [getAlias](getalias.md)(): string.md
* public [getChildren](getchildren.md)(string &#36;foreign_key, string &#36;class_name, [ string &#36;sort_by = 'id' ], [ string &#36;sort_dir = 'asc' ], [ int &#36;limit = '0' ], [ int &#36;offset = '0' ]): ModelIterator.md
* public [getDefaultValue](getdefaultvalue.md)(): string.md
* public [getFormField](getformfield.md)(): string.md
* public [getId](getid.md)(): int.md
* public [getName](getname.md)(): string.md
* public [getOptions](getoptions.md)(): ?string.md
* public [getOrderNum](getordernum.md)(): int.md
* public [getShowInForm](getshowinform.md)(): bool.md
* public  static[insert](insert.md)(object | array &#36;values): ?static.md
* public  static[insertFromForm](insertfromform.md)(): static.md
* public  static[insertOrUpdate](insertorupdate.md)(array &#36;criteria, array &#36;values): ?static.md
* public  static[purge](purge.md)(): void.md
* public [save](save.md)([ array &#36;values = [] ]): void.md
* public [setAlias](setalias.md)(string &#36;alias): void.md
* public [setDefaultValue](setdefaultvalue.md)(string &#36;default_value): void.md
* public [setFormField](setformfield.md)(string &#36;form_field): void.md
* public [setId](setid.md)(int &#36;id): void.md
* public [setName](setname.md)(string &#36;name): void.md
* public [setOptions](setoptions.md)(string &#36;options): void.md
* public [setOrderNum](setordernum.md)(int &#36;order_num): void.md
* public [setShowInForm](setshowinform.md)(bool &#36;show_in_form): void.md
* public [toArray](toarray.md)(): array.md
* public [toFormattedArray](toformattedarray.md)(): array.md
* public  static[update](update.md)(array &#36;values, [ string &#36;where_sql = '' ], [ ... &#36;args ]): void.md
* public  static[where](where.md)(string &#36;where_sql, [ ... &#36;args ]): ModelIterator.md
* public  static[whereFirst](wherefirst.md)(string &#36;where_sql, [ ... &#36;args ]): ?static.md
* public  static[whereId](whereid.md)(string | int &#36;id): ?static.md


