Lines Matching refs:old
51 $old = $event->data['src_id'];
59 $this->updateDataTablePIDs($old, $new);
60 $this->updateAssignments($old, $new);
61 $this->updateTitles($old, $new);
71 $this->updateColumnID($schema, $col, $old, $new, true);
73 $this->updateColumnLookup($schema, $col, $old, $new);
76 $this->updateColumnID($schema, $col, $old, $new);
96 * @param string $old old page id
99 protected function updateDataTablePIDs($old, $new)
104 $this->db->query($sql, [$new, $old]);
108 $this->db->query($sql, [$new, $old]);
115 * @param string $old old page id
118 protected function updateAssignments($old, $new)
122 $this->db->query($sql, [$new, $old]);
131 * @param string $old old page id
134 protected function updateTitles($old, $new)
137 $this->db->query($sql, [$new, $old]);
145 * @param string $old old page id
149 protected function updateColumnID(Schema $schema, Column $col, $old, $new, $hashes = false)
168 $this->db->query($sql, [$old, $new, $old]); // exact match
170 $this->db->query($sql, [$old, $new, "$old#%"]); // match with hashes
173 $this->db->query($sql, [$old, $new, "[\"$old\",%]"]); // match JSON string
175 $this->db->query($sql, [$old, $new, "[\"$old#%\",%]"]); // match JSON string with hash
187 * @param string $old old page id
190 protected function updateColumnLookup(Schema $schema, Column $col, $old, $new)
196 $this->updateColumnID($schema, $col, $old, $new);