Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <php
- \Bitrix\Iblock\ElementTable::GetList([
- 'filter' => [
- 'ACTIVE' => 'Y',
- [
- "LOGIC" => "OR",
- '<ACTIVE_FROM' => new \Bitrix\Main\DB\SqlExpression("NOW()"),
- 'ACTIVE_FROM' => null,
- ],
- [
- "LOGIC" => "OR",
- '>ACTIVE_TO' => new \Bitrix\Main\DB\SqlExpression("NOW()"),
- 'ACTIVE_TO' => null,
- ],
- ]
- ])
Add Comment
Please, Sign In to add comment