Exemplo n.º 1
0
 /**
  * @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;
 }
Exemplo n.º 2
0
 /**
  * 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;
 }