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