「関数リファレンス/BcBaser img」を編集中
提供: baserCMS公式ガイド
警告: ログインしていません。
編集すると、IPアドレスがこのページの編集履歴に記録されます。この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
行26: | 行26: | ||
####コード | ####コード | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | <?php $this->BcBaser->img( | + | <?php $this->BcBaser->img( $path , [$options] ); ?> |
</syntaxhighlight> | </syntaxhighlight> | ||
####出力 | ####出力 | ||
<syntaxhighlight lang="html5"> | <syntaxhighlight lang="html5"> | ||
− | <img src="/app/webroot/theme/hoge/img/logo.png | + | <img src="/app/webroot/theme/hoge/img/logo.png"> |
</syntaxhighlight> | </syntaxhighlight> | ||