<?php public function actionIndex(){ $time = xxx; //發佈文章的時間 return $this->format_date($time); } //獲取發佈文章