BcFreezeHelper::jsonList PHP Method

jsonList() public method

JsonList TODO 確認画面用の実装は全くしてない
public jsonList ( string $fieldName, array $attributes ) : string
$fieldName string フィールド文字列
$attributes array html属性
return string htmlタグ
    public function jsonList($fieldName, $attributes)
    {
        if ($this->freezed) {
            $out = '';
            if (!empty($this->request->data[$fieldName])) {
                $out = '<div id="JsonTagView"><ul class="freezed">';
                foreach ($this->request->data[$fieldName] as $tag) {
                    $out .= '<li>' . $tag['name'] . '</li>';
                }
                $out .= '</ul></div>';
            }
            return $out;
        } else {
            return parent::jsonList($fieldName, $attributes);
        }
    }