/** * Fungsi metaNews * * @param string $publishDate tanggal news dibuat * * @return string html untuk meta */ public function newsMeta($publishDate, $customMsg = 'Posted on ') { $langId = Zend_Registry::get('languageId'); if ($langId == 1) { $customMsg = 'Ditulis '; } else { $customMsg = 'Posted on '; } $html = $customMsg . $this->view->dateConverter($publishDate, 'tanggal-waktu'); return $html; }