src/Laravel/QueryAgent.php
public function getBlock($name, $sorts, $specs, $params=[])
    {
        $this->setSorts($sorts);
        $this->setEqSpecs($specs);
        $this->setParams($params);

        $fields_arr = $this->repository->getBlock($name);

        $block_item = new BlockItem($fields_arr, 0);

        return $block_item;
    }
public function getBlock($name, $sorts, $specs, $params=[])
    {
        $this->setSorts($sorts);
        $this->setEqSpecs($specs);
        $this->setParams($params);

        $fields_arr = $this->repository->getBlock($name);

        $block_item = new BlockItem($fields_arr, 0);

        return $block_item;
    }
Получить элемент блока с полями

@param string $name
@param array $sorts
@param array $specs
@param array $params
@return \Interpro\QuickStorage\Concept\Item\BlockItem