예제 #1
0
 public function updateHistory(array $values = array())
 {
     if ($this->getUrl(true) != $this->getPreviousUrl()) {
         return $this->_history->update($values);
     }
 }
예제 #2
0
 public function updateHistory()
 {
     if ($this->getUrl(true) != $this->getPreviousUrl()) {
         return $this->_history->update(array('url' => $this->getUrl(true), 'ipAddress' => $this->getIpAddress(), 'userAgent' => $this->getUserAgent()));
     }
 }