We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a798a commit 0da77bfCopy full SHA for 0da77bf
README.md
@@ -2,3 +2,25 @@
2
ORM for bitrix learning module
3
4
namespace Learning;
5
+
6
+# Examples
7
8
+## Get all Lessons from specific Site sorted by Course active date, Lesson active date
9
+```
10
+\Learning\LessonTable::getList([
11
+ 'order' => ['COURSE.ACTIVE_FROM' => 'ASC', 'ACTIVE_FROM' => 'ASC'],
12
+ 'filter' => [
13
+ 'ACTIVE' => 'Y',
14
+ 'COURSE.SITE.SITE_ID' => SITE_ID,
15
+ 'CHECK_PERMISSIONS' => 'Y'
16
+ ],
17
+ 'select' => [
18
+ 'NAME',
19
+ 'LESSON_ID' => 'ID',
20
+ 'COURSE_ID' => 'COURSE.ID',
21
+ 'ACTIVE_FROM' => 'COURSE.ACTIVE_FROM',
22
+ 'SORT',
23
+ 'CREATED_BY'
24
+ ]
25
+]);
26
0 commit comments