Documentation

Fields
in package

Form fields config class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
4.0.0

Table of Contents

Methods

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|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>|null $attribs = null ][, array<string|int, mixed>|null $config = null ][, mixed $omit = null ]) : array<string|int, mixed>
Parameters
$tableInfo : array<string|int, mixed>
$attribs : array<string|int, mixed>|null = null
$config : array<string|int, mixed>|null = null
$omit : mixed = null
Tags
throws
Exception
Return values
array<string|int, mixed>

        
On this page

Search results