pod_helper

(Since 1.4.0) -- pass a column value through a Display Helper
function pod_helper($helper, $value = null, $name = null)
This function passes a column value through a Display Helper.

Parameters

ParameterTypeDetails
$helper STRING the helper name
$value STRING (optional) the value to pass into the helper
$name STRING (optional) the column name to pass into the helper

Examples

<?php
// Pass $the_date through the "format_date" helper
$the_date = '2009-05-22 18:30:00';
echo $Record->pod_helper('format_date', $the_date);
?>