Since: 2.0
field
Output a field
Function Definition
public static function field ( $name, $value, $type = 'text', $options = null, $pod = null, $id = null )
Source File: /pods/classes/PodsForm.php
Parameters
Parameter | Type | Details |
---|---|---|
$name | (string) | Field name |
$value | (mixed) | Field value |
$type | (string) | Field type |
$options | (array) | Field options |
$pod | (array) | Pod data |
$id | (int) | Item ID |
Returns
(string) Field HTML