示例#1
0
 /**
  * Getter function of the prepared update PDOStatement
  *
  * @return null|PDOStatement
  */
 protected function getPreparedUpdate()
 {
     if ($this->preparedUpdate === null) {
         $this->preparedUpdate = $this->db->prepare('UPDATE s_core_rewrite_urls
             SET main = 0
             WHERE org_path = ?
             AND path != ?
             AND subshopID = ?
         ');
     }
     return $this->preparedUpdate;
 }