Return the raw output for a field. If you want the raw value for use in PHP for custom manipulation, you will want to use field() instead. This function will automatically convert arrays into a list of text such as “Rick, John, and Gary”
Function Definition
public function raw ( $name, $single = null )
Source File: /pods/classes/Pods.php
Since: 2.0
Parameters
PARAMETER | TYPE | DETAILS |
---|---|---|
$name | (string|array) | The field name, or an associative array of parameters |
$single | (boolean) | (optional) For tableless fields, to return an array or the first |
Returns
(string|null|false) The output from the field, null if the field doesn’t exist, false if no value returned for tableless fields