示例#1
0
 /**
  * {@inheritdoc}
  */
 public function formatDate($date = null, $format = 3, $showTime = false, $timezone = null)
 {
     $pluginInfo = $this->pluginList->getNext($this->subjectType, 'formatDate');
     if (!$pluginInfo) {
         return parent::formatDate($date, $format, $showTime, $timezone);
     } else {
         return $this->___callPlugins('formatDate', func_get_args(), $pluginInfo);
     }
 }