PHP code example of maximaster / bitrix-orm-condition
1. Go to this page and download the library: Download maximaster/bitrix-orm-condition library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
maximaster / bitrix-orm-condition example snippets
use Maximaster\BitrixOrmCondition\Column;
// Получаем ConditionTree который можно добавить в ::query()->where(...).
Column::of('NAME')->equals('Вася')->toTree();
// Есть ряд удобных методов строго типизирующие входные значения.
Column::of('ID')->foundIn(ElementTable::query()->where(/*...*/));