select.stub 255 字节

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