「ver4/関数リファレンス/getContentModifiedDate」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) |
|||
行2: | 行2: | ||
## 説明 | ## 説明 | ||
− | + | コンテンツ更新日を取得する。 | |
+ | コンテンツ更新日は 編集画面 > オプション > 作成者 > [更新日]から手動で更新します。 | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcBaser->getContentModifiedDate([$format]); | + | <?php $this->BcBaser->getContentModifiedDate([$format]); ?> |
</syntaxhighlight> | </syntaxhighlight> | ||
2018年11月6日 (火) 01:07時点における版
[このコンテンツは内容調整中です]
目次
説明
コンテンツ更新日を取得する。 コンテンツ更新日は 編集画面 > オプション > 作成者 > [更新日]から手動で更新します。
使い方
<?php $this->BcBaser->getContentModifiedDate([$format]); ?>
パラメータ
- (string) $format
- フォーマット
- 初期値: 'Y/m/d H:i'
戻り値
- (null|string)