Свойство | Тип | Описание | |
---|---|---|---|
$assetService | |||
$defaultOrderings | array | ||
$entityManager | Doctrine\Common\Persistence\ObjectManager | .. |
Метод | Описание | |
---|---|---|
add ( Neos\Media\Domain\Model\AssetInterface $object ) | ||
countAll ( ) : integer | ||
countByAssetCollection ( |
Count assets by asset collection | |
countByTag ( |
Counts Assets with the given Tag assigned | |
countUntagged ( |
Counts Assets without any tag | |
findAll ( |
||
findAllIterator ( ) : Doctrine\ORM\Internal\Hydration\IterableResult | Find all objects and return an IterableResult | |
findByAssetCollection ( |
||
findBySearchTermOrTags ( string $searchTerm, array $tags = [], |
Find assets by title or given tags | |
findByTag ( |
Find Assets with the given Tag assigned | |
findOneByResourceSha1 ( string $sha1 ) : Neos\Media\Domain\Model\AssetInterface | null | ||
findUntagged ( |
Find Assets without any tag | |
iterate ( Doctrine\ORM\Internal\Hydration\IterableResult $iterator, callable $callback = null ) : Generator | Iterate over an IterableResult and return a Generator | |
remove ( Neos\Media\Domain\Model\AssetInterface $object ) : void | Remove an asset while first validating if the object can be removed or if removal is blocked because the asset is still in use. | |
removeWithoutUsageChecks ( Neos\Media\Domain\Model\AssetInterface $object ) : void | Remove the asset even if it is still in use. Use with care, it is probably better to first make sure the asset is not used anymore and then use the remove() method for removal. | |
update ( Neos\Media\Domain\Model\AssetInterface $object ) |
Метод | Описание | |
---|---|---|
addAssetCollectionToQueryConstraints ( |
||
addImageVariantFilterClause ( |
public add ( Neos\Media\Domain\Model\AssetInterface $object ) | ||
$object | Neos\Media\Domain\Model\AssetInterface |
protected addAssetCollectionToQueryConstraints ( |
||
$query | ||
$assetCollection | ||
Результат | void |
protected addImageVariantFilterClause ( |
||
$query | ||
Результат | Neos\Flow\Persistence\QueryInterface |
public countByAssetCollection ( |
||
$assetCollection | ||
Результат | integer |
public countByTag ( |
||
$tag | ||
$assetCollection | ||
Результат | integer |
public countUntagged ( |
||
$assetCollection | ||
Результат | integer |
public findAll ( |
||
$assetCollection | ||
Результат | Neos\Flow\Persistence\QueryResultInterface |
public findAllIterator ( ) : Doctrine\ORM\Internal\Hydration\IterableResult | ||
Результат | Doctrine\ORM\Internal\Hydration\IterableResult |
public findByAssetCollection ( |
||
$assetCollection | ||
Результат | Neos\Flow\Persistence\QueryResultInterface |
public findBySearchTermOrTags ( string $searchTerm, array $tags = [], |
||
$searchTerm | string | |
$tags | array | |
$assetCollection | ||
Результат | Neos\Flow\Persistence\QueryResultInterface |
public findByTag ( |
||
$tag | ||
$assetCollection | ||
Результат | Neos\Flow\Persistence\QueryResultInterface |
public findOneByResourceSha1 ( string $sha1 ) : Neos\Media\Domain\Model\AssetInterface | null | ||
$sha1 | string | |
Результат | Neos\Media\Domain\Model\AssetInterface | null |
public findUntagged ( |
||
$assetCollection | ||
Результат | Neos\Flow\Persistence\QueryResultInterface |
public removeWithoutUsageChecks ( Neos\Media\Domain\Model\AssetInterface $object ) : void | ||
$object | Neos\Media\Domain\Model\AssetInterface | |
Результат | void |
public update ( Neos\Media\Domain\Model\AssetInterface $object ) | ||
$object | Neos\Media\Domain\Model\AssetInterface |
protected AssetService,Neos\Media\Domain\Service $assetService | ||
Результат |