Back to PhocacartRenderAdmincolumns class

Method header

public
(mixed $function, mixed &$options)

Method header - Source code

public function header($function, &$options)
{
    if ($function == '') {
        return false;
    }
    $function = strtolower($function) . 'Header';
    if (!is_callable(array($this, $function))) {
        throw new \InvalidArgumentException('Function ' . $function . ' not supported', 500);
    }
    return call_user_func_array(array($this, $function), array(&$options));
}