
    public function {%methodName%}($value, $data)
    {
        $value = $value ? $value : (isset($data['{%field%}']) ? $data['{%field%}'] : '');
        $list = $this->{%listMethodName%}();
        return isset($list[$value]) ? $list[$value] : '';
    }