['filter' => FILTER_CALLBACK, 'options' => [self::class, 'checkIdListUnsigned']] ); protected array $expectedPOST = array( 'title' => ['filter' => FILTER_CALLBACK, 'options' => [self::class, 'checkTextLine']] ); protected function generate() : void { if (!$this->assertGET('id')) return; $caption = $this->handleCaption($this->_post['title']); DB::Aowow()->qry('UPDATE ::videos SET `caption` = %s WHERE `id` = %i', $caption, $this->_get['id'][0]); } }