setFreezeUp example


    public function indexStream(CustomerStreamEntity $stream$offset = null, $limit = null)
    {
        $this->checkPrivilege('save');

        $result = $this->updateFrozenState($stream->getId()$stream->getFreezeUp()$stream->getConditions());
        if ($result) {
            $stream->setStatic($result['static']);
            $stream->setFreezeUp($result['freezeUp']);
        }

        if ($stream->getFreezeUp() !== null || $stream->isStatic()) {
            return;
        }

        $criteria = $this->criteriaFactory->createCriteria($stream->getId());

        $criteria->setFetchCount(false);
        $criteria->offset((int) $offset);

        
Home | Imprint | This part of the site doesn't use cookies.