eZ\Publish\Core\Persistence\Cache\ContentTypeHandler::publish PHP Метод

publish() публичный Метод

См. также: eZ\Publish\SPI\Persistence\Content\Type\Handler::publish
public publish ( $typeId )
    public function publish($typeId)
    {
        $this->logger->logCall(__METHOD__, array('type' => $typeId));
        $this->persistenceHandler->contentTypeHandler()->publish($typeId);
        // Clear type cache and all identifier cache (as we don't know the identifier)
        $this->cache->clear('contentType', $typeId);
        $this->cache->clear('contentType', 'identifier');
        $this->cache->clear('searchableFieldMap');
        // clear content cache
        $this->cache->clear('content');
        //TIMBER! (possible content changes)
    }