Exemple #1
0
 /**
  * Returns the timestamp of the first date in the period for this Archive.
  * This is used to sort archives by date when working on a Archive_Array
  *
  * @return int Unix timestamp
  */
 public function getTimestampStartDate()
 {
     if (!is_null($this->archiveProcessing)) {
         return $this->archiveProcessing->getTimestampStartDate();
     }
     return $this->period->getDateStart()->getTimestamp();
 }
Exemple #2
0
 /**
  * Returns the timestamp of the first date in the period for this Archive.
  * This is used to sort archives by date when working on a Archive_Array
  *
  * @return int Unix timestamp
  */
 public function getTimestampStartDate()
 {
     if (!is_null($this->archiveProcessing)) {
         //			var_dump($this->archiveProcessing->period->getPrettyString());
         return $this->archiveProcessing->getTimestampStartDate();
     }
     return $this->period->getDateStart()->getTimestamp();
 }