「ver4/関数リファレンス/getUpdateInfo」の版間の差分
提供: baserCMS公式ガイド
行7: | 行7: | ||
<?php $this->BcBaser->getUpdateInfo(); ?> | <?php $this->BcBaser->getUpdateInfo(); ?> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
## 戻り値 | ## 戻り値 | ||
行31: | 行29: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
##類似の関数 | ##類似の関数 | ||
行47: | 行34: | ||
- [getContentCreatedDate](/ver4/関数リファレンス/getContentCreatedDate) - コンテンツ作成日を取得 | - [getContentCreatedDate](/ver4/関数リファレンス/getContentCreatedDate) - コンテンツ作成日を取得 | ||
- [getContentModifiedDate](/ver4/関数リファレンス/getContentModifiedDate) - コンテンツ更新日を取得 | - [getContentModifiedDate](/ver4/関数リファレンス/getContentModifiedDate) - コンテンツ更新日を取得 | ||
− | |||
− |
2019年1月17日 (木) 00:57時点における最新版
説明
更新情報を取得する。
更新日は、編集画面 > オプション > 作成者 > [更新日]から、手動で更新します。
使い方
<?php $this->BcBaser->getUpdateInfo(); ?>
戻り値
- (string)
- コンテンツ更新情報
用例
基本
更新情報を取得し、echoで出力する。
コード
<?php $this->BcBaser->getUpdateInfo(); ?>
出力
作成日 2018/10/16 23:30 最終更新日 2018/10/31 20:30
類似の関数
- updateInfo - 更新情報を出力する
- getContentCreatedDate - コンテンツ作成日を取得
- getContentModifiedDate - コンテンツ更新日を取得