Documentation

Fields
in package

Form fields config class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2021 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
3.6.0

Table of Contents

create()  : AbstractElement
Static factory method to create a field element object from a field config array
getConfigFromTable()  : array<string|int, mixed>
Static factory method to get field configs from a database table

Methods

create()

Static factory method to create a field element object from a field config array

public static create(string $name, array<string|int, mixed> $field) : AbstractElement
Parameters
$name : string
$field : array<string|int, mixed>
Tags
throws
Exception
Return values
AbstractElement

getConfigFromTable()

Static factory method to get field configs from a database table

public static getConfigFromTable(array<string|int, mixed> $tableInfo[, array<string|int, mixed> $attribs = null ][, array<string|int, mixed> $config = null ][, mixed $omit = null ]) : array<string|int, mixed>
Parameters
$tableInfo : array<string|int, mixed>
$attribs : array<string|int, mixed> = null
$config : array<string|int, mixed> = null
$omit : mixed = null
Tags
throws
Exception
Return values
array<string|int, mixed>

Search results