Since: 2.0
data
Get the data from the field
Function Definition
public function data ( $name, $value = null, $options = null, $pod = null, $id = null, $in_form = true )
Source File: /pods/classes/PodsField.php
Parameters
Parameter | Type | Details |
---|---|---|
$name | (string) | The name of the field |
$value | (string|array) | The value of the field |
$options | (array) | |
$pod | (array) | |
$id | (int) | |
$in_form | (boolean) |
Returns
(array) Array of possible field data