public function generateContentTypeExcludeCriterion(array $excludeContentTypeIdentifiers)
    {
        $excludeCriterion = array();
        foreach ($excludeContentTypeIdentifiers as $contentTypeIdentifier) {
            $excludeCriterion[] = new Criterion\LogicalNot(
                new Criterion\ContentTypeIdentifier($contentTypeIdentifier)
            );
        }

        return new Criterion\LogicalAnd($excludeCriterion);
    }
public function generateContentTypeExcludeCriterion(array $excludeContentTypeIdentifiers)
    {
        $excludeCriterion = array();
        foreach ($excludeContentTypeIdentifiers as $contentTypeIdentifier) {
            $excludeCriterion[] = new Criterion\LogicalNot(
                new Criterion\ContentTypeIdentifier($contentTypeIdentifier)
            );
        }

        return new Criterion\LogicalAnd($excludeCriterion);
    }
public function generateContentTypeExcludeCriterion ( array $ excludeContentTypeIdentifiers ) { $ excludeCriterion = array ( ) ; foreach ( $ excludeContentTypeIdentifiers as $ contentTypeIdentifier ) { $ excludeCriterion [ ] = new Criterion \ LogicalNot ( new Criterion \ ContentTypeIdentifier ( $ contentTypeIdentifier ) ) ; } return new Criterion \ LogicalAnd ( $ excludeCriterion ) ; }
Generates an exclude criterion based on contentType identifiers.

@param array $excludeContentTypeIdentifiers

@return \eZ\Publish\API\Repository\Values\Content\Query\Criterion\LogicalAnd
Generates an exclude criterion based on contentType identifiers .