/** * @param integer $date Article publication date in unixtimestamp format */ public function set_publication_date($date) { $this->_attributes['publication_date'] = \Baseapp\Library\Sitemap::date_format($date); return $this; }
/** * The date of last modification of the file. * @param integer $lastmod Unix timestamp */ public function set_last_mod($lastmod) { $this->attributes['lastmod'] = \Baseapp\Library\Sitemap::date_format($lastmod); return $this; }