public function onRender() { $filelist = new ListModel(); $this->filelist = $this->page['filelist'] = $filelist->where('id', '=', $this->property('id'))->first(); }
public function onRender() { $filelist = new ListModel(); $this->filelist = $this->page['filelists'] = $filelist->get(); }