| @@ 96-103 (lines=8) @@ | ||
| 93 | * |
|
| 94 | * @return static|bool |
|
| 95 | */ |
|
| 96 | public static function create($fields) |
|
| 97 | { |
|
| 98 | if (!isset($fields['IBLOCK_ID'])) { |
|
| 99 | $fields['IBLOCK_ID'] = static::iblockId(); |
|
| 100 | } |
|
| 101 | ||
| 102 | return parent::create($fields); |
|
| 103 | } |
|
| 104 | ||
| 105 | /** |
|
| 106 | * Corresponding section model full qualified class name. |
|
| @@ 96-103 (lines=8) @@ | ||
| 93 | * |
|
| 94 | * @return static|bool |
|
| 95 | */ |
|
| 96 | public static function create($fields) |
|
| 97 | { |
|
| 98 | if (!isset($fields['IBLOCK_ID'])) { |
|
| 99 | $fields['IBLOCK_ID'] = static::iblockId(); |
|
| 100 | } |
|
| 101 | ||
| 102 | return parent::create($fields); |
|
| 103 | } |
|
| 104 | ||
| 105 | /** |
|
| 106 | * Get IDs of direct children of the section. |
|