diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-02 10:54:23 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-02 10:54:23 +0200 |
| commit | 4bebfa04cf759d77c511541bdf30747c76a3b2e1 (patch) | |
| tree | 10eb1a2820fbbf3f49fdafb0a7821abc25e306e6 /models/archivelist.php | |
| parent | b0fb3d9df06ab9aa77f95b3b60d60f414a9f5ebe (diff) | |
| download | nowayforward_human-4bebfa04cf759d77c511541bdf30747c76a3b2e1.tar nowayforward_human-4bebfa04cf759d77c511541bdf30747c76a3b2e1.tar.gz nowayforward_human-4bebfa04cf759d77c511541bdf30747c76a3b2e1.zip | |
feat(views/list): Fully implement list updating
Diffstat (limited to 'models/archivelist.php')
| -rw-r--r-- | models/archivelist.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/archivelist.php b/models/archivelist.php index 779365e..bf734e0 100644 --- a/models/archivelist.php +++ b/models/archivelist.php @@ -41,4 +41,12 @@ class ArchiveList extends Table { 'Webpages.*' ); } + + function update(string $newName, string $newDescription) { + Table::_update( + 'ArchiveLists', + "Name = \"$newName\", Description = \"$newDescription\"", + "LID = \"$this->LID\"" + ); + } } |
