「ver4/関数リファレンス/BcBaser mark」を編集中
提供: baserCMS公式ガイド
警告: ログインしていません。
編集すると、IPアドレスがこのページの編集履歴に記録されます。この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
行7: | 行7: | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->mark($search, $text, $name , [$attributes], $escape ); | + | $this->BcBaser->mark($search, $text, [$name] , [$attributes], [$escape]); |
</syntaxhighlight> | </syntaxhighlight> | ||
行19: | 行19: | ||
(string)$name | (string)$name | ||
: タグ名 | : タグ名 | ||
− | + | ||
+ | - 初期値:'strong' | ||
(array)$attributes | (array)$attributes | ||
: 属性 | : 属性 | ||
− | + | ||
+ | - 初期値:array() | ||
(boolean)$escape | (boolean)$escape | ||
: エスケープするかどうか | : エスケープするかどうか | ||
− | + | ||
+ | - 初期値:false | ||
## 戻り値 | ## 戻り値 |