protected function lstCategory_Create() { $this->lstCategory = new QListBox($this); $this->lstCategory->Name = 'Category'; $this->lstCategory->AddItem('- ALL -', null); foreach (Category::LoadAllAsCustomArray(true, false, 'short_description') as $arrCategory) { $this->lstCategory->AddItem($arrCategory['short_description'], $arrCategory['category_id']); } }