getList
/** @var $list array */ $list = \CTaskCheckListItem::getList(['filter'=['TASK_ID'=>1], 'select'=>['ID', 'TITLE'], 'order'=>['SORT_INDEX']]); foreach($list ... ) { // same magic }
Static method allows getting checklist list.
Parameters
Example
REST запрос
// 20190207180803 // http://site.com/rest/1/********/tasks.task.checklist.list?taskId=1&filter[fasdfa", "IS_COMPLETE": "Y", "SORT_INDEX": "4" }, { "ID": "19", "CREATED_BY": "1", "TITLE": "test add new check list item", "IS_COMPLETE": "N", "SORT_INDEX": "5" } ] }, "time": { "start": 1549555683.415296, "finish": 1549555683.489995, "duration": 0.07469892501831055, "processing": 0.0047719478607177734, "date_start": "2019-02-07T18:08:03+02:00", "date_finish": "2019-02-07T18:08:03+02:00" } }
© «Bitrix24», 2001-2024