- $this->params()->fromFiles() array (0)
- $this->params()->fromHeader() array (6)
- Cookie => string (65) "7da5152be353df3b140e5b502ee23040=e2eea7c4cafc5cc291eb79ab452f702b"$this->params()->fromHeader()['Cookie']
- X-Forwarded-Proto => string (5) "https"$this->params()->fromHeader()['X-Forwarded-Proto']
- Accept-Encoding => string (23) "gzip, br, zstd, deflate"$this->params()->fromHeader()['Accept-Encoding']
- User-Agent => string (103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0...$this->params()->fromHeader()['User-Agent']
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
- Accept => string (3) "*/*"$this->params()->fromHeader()['Accept']
- Host => string (21) "ting.museerousseau.ch"$this->params()->fromHeader()['Host']
- Cookie => string (65) "7da5152be353df3b140e5b502ee23040=e2eea7c4cafc5cc291eb79ab452f702b"
- $this->params()->fromPost() array (0)
- $this->params()->fromQuery() array (5)
- sort_by_default => string (0) ""$this->params()->fromQuery()['sort_by_default']
- sort_order_default => string (0) ""$this->params()->fromQuery()['sort_order_default']
- sort_by => string (15) "rico:identifier"$this->params()->fromQuery()['sort_by']
- sort_order => string (3) "asc"$this->params()->fromQuery()['sort_order']
- page => integer 1$this->params()->fromQuery()['page']
- sort_by_default => string (0) ""
- $this->params()->fromRoute() array (9)
- __NAMESPACE__ => string (21) "Omeka\Controller\Site"$this->params()->fromRoute()['__NAMESPACE__']
- __SITE__ => boolean true$this->params()->fromRoute()['__SITE__']
- site-slug => string (3) "mrm"$this->params()->fromRoute()['site-slug']
- controller => string (26) "Omeka\Controller\Site\Item"$this->params()->fromRoute()['controller']
- action => string (6) "browse"$this->params()->fromRoute()['action']
- id => null$this->params()->fromRoute()['id']
- __CONTROLLER__ => string (4) "item"$this->params()->fromRoute()['__CONTROLLER__']
- cleanurl_route => string (8) "item-set"$this->params()->fromRoute()['cleanurl_route']
- item-set-id => integer 2900$this->params()->fromRoute()['item-set-id']
- __NAMESPACE__ => string (21) "Omeka\Controller\Site"
- $this->params()->getView() Laminas\View\Renderer\PhpRenderer#229 (10)
- Properties (10)
- Methods (23)
- private __content -> string (0) ""
- private __renderTrees -> boolean false
- private __template -> string (22) "omeka/site/item/browse"
- private __templates -> array (0)
- private __templateResolver -> Laminas\View\Resolver\AggregateResolver#231 (3)
- Properties (3)
- Methods (7)
- Class constants (2)
- Iterator (6)
- protected lastLookupFailure -> boolean false
- protected lastSuccessfulResolver -> Laminas\View\Resolver\TemplatePathStack#236 (6)
- Properties (6)
- Methods (15)
- Static methods (1)
- Class constants (2)
- protected defaultSuffix -> string (5) "phtml"
- protected paths -> Laminas\Stdlib\SplStack#237 Depth Limit
- protected lastLookupFailure -> boolean false
- protected lfiProtectionOn -> boolean true
- protected useViewStream -> boolean true
- protected useStreamWrapper -> boolean false
- public __construct($options = null) Constructor
/** * Constructor * * @param null|array<string, mixed>|Traversable<string, mixed> $options */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:88
- public setOptions($options): void Configure object
/** * Configure object * * @param array<string, mixed>|Traversable<string, mixed> $options * @return void * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:113
- public setDefaultSuffix($defaultSuffix): TemplatePathStack Set default file suffix
/** * Set default file suffix * * @param string $defaultSuffix * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:150
- public getDefaultSuffix(): string Get default file suffix
/** * Get default file suffix * * @return string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:162
- public addPaths(array $paths): TemplatePathStack Add many paths to the stack at once
/** * Add many paths to the stack at once * * @param list<string> $paths * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:173
- public setPaths($paths): TemplatePathStack Rest the path stack to the paths provided
/** * Rest the path stack to the paths provided * * @param PathStack|list<string> $paths * @return TemplatePathStack * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:188
- public addPath($path): TemplatePathStack Add a single path to the stack
/** * Add a single path to the stack * * @param string $path * @return TemplatePathStack * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:230
- public clearPaths(): void Clear all paths
/** * Clear all paths * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:247
- public getPaths(): PathStack Returns stack of paths
/** * Returns stack of paths * * @return PathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:259
- public setLfiProtection($flag): TemplatePathStack Set LFI protection flag
/** * Set LFI protection flag * * @param bool $flag * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:270
- public isLfiProtectionOn(): bool Return status of LFI protection flag
/** * Return status of LFI protection flag * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:281
- public setUseStreamWrapper($flag): TemplatePathStack Set flag indicating if stream wrapper should be used if short_open_tag is off
/** * Set flag indicating if stream wrapper should be used if short_open_tag is off * * @deprecated will be removed in version 3 * * @param bool $flag * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:294
- public useStreamWrapper(): bool Should the stream wrapper be used if short_open_tag is off?
/** * Should the stream wrapper be used if short_open_tag is off? * * Returns true if the use_stream_wrapper flag is set, and if short_open_tag * is disabled. * * @deprecated will be removed in version 3 * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:310
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null): string Retrieve the filesystem path to a view script
/** * Retrieve the filesystem path to a view script * * @param string $name * @return string * @throws Exception\DomainException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:322
- public getLastLookupFailure(): false|string Get the last lookup failure message, if any
/** * Get the last lookup failure message, if any * * @return false|string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:372
- public static Laminas\View\Resolver\TemplatePathStack::normalizePath($path): string Normalize a path for insertion in the stack
/** * Normalize a path for insertion in the stack * * @param string $path * @return string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:215
- public const Laminas\View\Resolver\TemplatePathStack::FAILURE_NO_PATHS :: string (34) "TemplatePathStack_Failure_No_Paths"
- public const Laminas\View\Resolver\TemplatePathStack::FAILURE_NOT_FOUND :: string (35) "TemplatePathStack_Failure_Not_Found"
- protected queue -> Laminas\Stdlib\PriorityQueue#232 (3)
- Properties (3)
- Methods (17)
- Class constants (3)
- Iterator (6)
- protected queueClass -> string (31) "Laminas\Stdlib\SplPriorityQueue"
- protected items -> array (6) Depth Limit
- protected queue -> Laminas\Stdlib\SplPriorityQueue#240 Depth Limit
- public insert($data, $priority = 1): $this Insert an item into the queue
/** * Insert an item into the queue * * Priority defaults to 1 (low priority) if none provided. * * @param TValue $data * @param TPriority $priority * @return $this */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:74
- public remove($datum): bool False if the item was not found, true otherwise. Remove an item from the queue
/** * Remove an item from the queue * * This is different than {@link extract()}; its purpose is to dequeue an * item. * * This operation is potentially expensive, as it requires * re-initialization and re-population of the inner queue. * * Note: this removes the first item matching the provided item found. If * the same item has been added multiple times, it will not remove other * instances. * * @param mixed $datum * @return bool False if the item was not found, true otherwise. */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:102
- public isEmpty(): bool Is the queue empty?
/** * Is the queue empty? * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:132
- public count(): int How many items are in the queue?
/** * How many items are in the queue? * * @return int */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:143
- public top(): TValue Peek at the top node in the queue, based on priority.
/** * Peek at the top node in the queue, based on priority. * * @return TValue */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:153
- public extract(): TValue Extract a node from the inner queue and sift up
/** * Extract a node from the inner queue and sift up * * @return TValue */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:165
- public getIterator(): \SplPriorityQueue<TPriority, TValue> Retrieve the inner iterator
/** * Retrieve the inner iterator * * SplPriorityQueue acts as a heap, which typically implies that as items * are iterated, they are also removed. This does not work for situations * where the queue may be iterated multiple times. As such, this class * aggregates the values, and also injects an SplPriorityQueue. This method * retrieves the inner queue object, and clones it for purposes of * iteration. * * @return \SplPriorityQueue<TPriority, TValue> */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:210
- public serialize(): string Serialize the data structure
/** * Serialize the data structure * * @return string */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:221
- public __serialize(): list<array{data: TValue, priority: TPriority}> Magic method used for serializing of an instance.
/** * Magic method used for serializing of an instance. * * @return list<array{data: TValue, priority: TPriority}> */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:231
- public unserialize($data): void Unserialize a string into a PriorityQueue object
/** * Unserialize a string into a PriorityQueue object * * Serialization format is compatible with {@link SplPriorityQueue} * * @param string $data * @return void */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:244
- public __unserialize($data): void Magic method used to rebuild an instance.
/** * Magic method used to rebuild an instance. * * @param list<array{data: TValue, priority: TPriority}> $data Data array. * @return void */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:265
- public toArray($flag = 1): array<array-key, mixed> Serialize to an array By default, returns only the item data, and in the orde...
/** * Serialize to an array * By default, returns only the item data, and in the order registered (not * sorted). You may provide one of the EXTR_* flags as an argument, allowing * the ability to return priorities or both data and priority. * * @param int $flag * @return array<array-key, mixed> * @psalm-return ($flag is self::EXTR_BOTH * ? list<array{data: TValue, priority: TPriority}> * : $flag is self::EXTR_PRIORITY * ? list<TPriority> * : list<TValue> * ) */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:287
- public setInternalQueueClass($class): $this Specify the internal queue class
/** * Specify the internal queue class * * Please see {@link getIterator()} for details on the necessity of an * internal queue class. The class provided should extend SplPriorityQueue. * * @param class-string<\SplPriorityQueue> $class * @return $this */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:309
- public contains($datum): bool Does the queue contain the given datum?
/** * Does the queue contain the given datum? * * @param TValue $datum * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:322
- public hasPriority($priority): bool Does the queue have an item with the given priority?
/** * Does the queue have an item with the given priority? * * @param TPriority $priority * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:338
- protected getQueue(): \SplPriorityQueue<TPriority, TValue> Get the inner priority queue instance
/** * Get the inner priority queue instance * * @throws Exception\DomainException * @return \SplPriorityQueue<TPriority, TValue> * @psalm-assert !null $this->queue */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:355
- public __clone(): void Add support for deep cloning
/** * Add support for deep cloning * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-stdlib/src/PriorityQueue.php:379
- public const Laminas\Stdlib\PriorityQueue::EXTR_DATA :: integer 1
- public const Laminas\Stdlib\PriorityQueue::EXTR_PRIORITY :: integer 2
- public const Laminas\Stdlib\PriorityQueue::EXTR_BOTH :: integer 3
- 0 => Laminas\View\Resolver\TemplateMapResolver#234 Depth Limit
- 1 => Laminas\View\Resolver\TemplatePathStack#236 Depth Limit
- 2 => Laminas\View\Resolver\PrefixPathStackResolver#239 Depth Limit
- 3 => Laminas\View\Resolver\RelativeFallbackResolver#241 Depth Limit
- 4 => Laminas\View\Resolver\RelativeFallbackResolver#242 Depth Limit
- 5 => Laminas\View\Resolver\RelativeFallbackResolver#243 Depth Limit
- public __construct() Constructor
/** * Constructor * * Instantiate the internal priority queue */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:39
- public count(): int Return count of attached resolvers
/** * Return count of attached resolvers * * @return int */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:50
- public getIterator(): PriorityQueue IteratorAggregate: return internal iterator
/** * IteratorAggregate: return internal iterator * * @return PriorityQueue */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:61
- public attach(Laminas\View\Resolver\ResolverInterface $resolver, $priority = 1): AggregateResolver Attach a resolver
/** * Attach a resolver * * @param int $priority * @return AggregateResolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:72
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null): false|string Resolve a template/pattern name to a resource the renderer can consume
/** * Resolve a template/pattern name to a resource the renderer can consume * * @param string $name * @return false|string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:84
- public getLastSuccessfulResolver(): Resolver Return the last successful resolver, if any
/** * Return the last successful resolver, if any * * @return Resolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:112
- public getLastLookupFailure(): false|string Get last lookup failure
/** * Get last lookup failure * * @return false|string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/AggregateResolver.php:122
- public const Laminas\View\Resolver\AggregateResolver::FAILURE_NO_RESOLVERS :: string (38) "AggregateResolver_Failure_No_Resolvers"
- public const Laminas\View\Resolver\AggregateResolver::FAILURE_NOT_FOUND :: string (35) "AggregateResolver_Failure_Not_Found"
- 0 => Laminas\View\Resolver\TemplateMapResolver#234 (1)
- Properties (1)
- Methods (9)
- protected map -> array (0)
- public __construct($map = array()) Constructor
/** * Constructor * * Instantiate and optionally populate template map. * * @param array|Traversable $map */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:36
- public getIterator(): Traversable IteratorAggregate: return internal iterator
/** * IteratorAggregate: return internal iterator * * @return Traversable */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:47
- public setMap($map): TemplateMapResolver Set (overwrite) template map
/** * Set (overwrite) template map * * Maps should be arrays or Traversable objects with name => path pairs * * @param array|Traversable $map * @throws Exception\InvalidArgumentException * @return TemplateMapResolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:61
- public add($nameOrMap, $path = null): TemplateMapResolver Add an entry to the map
/** * Add an entry to the map * * @param string|array|Traversable $nameOrMap * @param null|string $path * @throws Exception\InvalidArgumentException * @return TemplateMapResolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:87
- public merge($map): TemplateMapResolver Merge internal map with provided map
/** * Merge internal map with provided map * * @param array|Traversable $map * @throws Exception\InvalidArgumentException * @return TemplateMapResolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:120
- public has($name): bool Does the resolver contain an entry for the given name?
/** * Does the resolver contain an entry for the given name? * * @param string $name * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:144
- public get($name): false|string Retrieve a template path by name
/** * Retrieve a template path by name * * @param string $name * @return false|string * @throws Exception\DomainException If no entry exists. */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:156
- public getMap(): array Retrieve the template map
/** * Retrieve the template map * * @return array */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:169
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null): false|string Resolve a template/pattern name to a resource the renderer can consume
/** * Resolve a template/pattern name to a resource the renderer can consume * * @param string $name * @return false|string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplateMapResolver.php:180
- 1 => Laminas\View\Resolver\TemplatePathStack#236 (6)
- Properties (6)
- Methods (15)
- Static methods (1)
- Class constants (2)
- protected defaultSuffix -> string (5) "phtml"
- protected paths -> Laminas\Stdlib\SplStack#237 Depth Limit
- protected lastLookupFailure -> boolean false
- protected lfiProtectionOn -> boolean true
- protected useViewStream -> boolean true
- protected useStreamWrapper -> boolean false
- public __construct($options = null) Constructor
/** * Constructor * * @param null|array<string, mixed>|Traversable<string, mixed> $options */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:88
- public setOptions($options): void Configure object
/** * Configure object * * @param array<string, mixed>|Traversable<string, mixed> $options * @return void * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:113
- public setDefaultSuffix($defaultSuffix): TemplatePathStack Set default file suffix
/** * Set default file suffix * * @param string $defaultSuffix * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:150
- public getDefaultSuffix(): string Get default file suffix
/** * Get default file suffix * * @return string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:162
- public addPaths(array $paths): TemplatePathStack Add many paths to the stack at once
/** * Add many paths to the stack at once * * @param list<string> $paths * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:173
- public setPaths($paths): TemplatePathStack Rest the path stack to the paths provided
/** * Rest the path stack to the paths provided * * @param PathStack|list<string> $paths * @return TemplatePathStack * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:188
- public addPath($path): TemplatePathStack Add a single path to the stack
/** * Add a single path to the stack * * @param string $path * @return TemplatePathStack * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:230
- public clearPaths(): void Clear all paths
/** * Clear all paths * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:247
- public getPaths(): PathStack Returns stack of paths
/** * Returns stack of paths * * @return PathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:259
- public setLfiProtection($flag): TemplatePathStack Set LFI protection flag
/** * Set LFI protection flag * * @param bool $flag * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:270
- public isLfiProtectionOn(): bool Return status of LFI protection flag
/** * Return status of LFI protection flag * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:281
- public setUseStreamWrapper($flag): TemplatePathStack Set flag indicating if stream wrapper should be used if short_open_tag is off
/** * Set flag indicating if stream wrapper should be used if short_open_tag is off * * @deprecated will be removed in version 3 * * @param bool $flag * @return TemplatePathStack */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:294
- public useStreamWrapper(): bool Should the stream wrapper be used if short_open_tag is off?
/** * Should the stream wrapper be used if short_open_tag is off? * * Returns true if the use_stream_wrapper flag is set, and if short_open_tag * is disabled. * * @deprecated will be removed in version 3 * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:310
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null): string Retrieve the filesystem path to a view script
/** * Retrieve the filesystem path to a view script * * @param string $name * @return string * @throws Exception\DomainException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:322
- public getLastLookupFailure(): false|string Get the last lookup failure message, if any
/** * Get the last lookup failure message, if any * * @return false|string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:372
- public static Laminas\View\Resolver\TemplatePathStack::normalizePath($path): string Normalize a path for insertion in the stack
/** * Normalize a path for insertion in the stack * * @param string $path * @return string */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/TemplatePathStack.php:215
- public const Laminas\View\Resolver\TemplatePathStack::FAILURE_NO_PATHS :: string (34) "TemplatePathStack_Failure_No_Paths"
- public const Laminas\View\Resolver\TemplatePathStack::FAILURE_NOT_FOUND :: string (35) "TemplatePathStack_Failure_Not_Found"
- 2 => Laminas\View\Resolver\PrefixPathStackResolver#239 (1)
- Properties (1)
- Methods (2)
- private prefixes -> array (0)
- public __construct(array $prefixes = array()) Constructor
/** * Constructor * * @param string[]|string[][]|ResolverInterface[] $prefixes Set of path prefixes * to be matched (array keys), with either a path or an array of paths * to use for matching as in the {@see \Laminas\View\Resolver\TemplatePathStack}, * or a {@see \Laminas\View\Resolver\ResolverInterface} * to use for view path starting with that prefix */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/PrefixPathStackResolver.php:31
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null) {@inheritDoc}
/** * {@inheritDoc} */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/PrefixPathStackResolver.php:39
- 3 => Laminas\View\Resolver\RelativeFallbackResolver#241 (1)
- Properties (1)
- Methods (2)
- Class constants (1)
- private resolver -> Laminas\View\Resolver\TemplateMapResolver#234 Depth Limit
- public __construct(Laminas\View\Resolver\ResolverInterface $resolver)
Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:30
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null) {@inheritDoc}
/** * {@inheritDoc} */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:38
- public const Laminas\View\Resolver\RelativeFallbackResolver::NS_SEPARATOR :: string (1) "/"
- 4 => Laminas\View\Resolver\RelativeFallbackResolver#242 (1)
- Properties (1)
- Methods (2)
- Class constants (1)
- private resolver -> Laminas\View\Resolver\TemplatePathStack#236 Depth Limit
- public __construct(Laminas\View\Resolver\ResolverInterface $resolver)
Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:30
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null) {@inheritDoc}
/** * {@inheritDoc} */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:38
- public const Laminas\View\Resolver\RelativeFallbackResolver::NS_SEPARATOR :: string (1) "/"
- 5 => Laminas\View\Resolver\RelativeFallbackResolver#243 (1)
- Properties (1)
- Methods (2)
- Class constants (1)
- private resolver -> Laminas\View\Resolver\PrefixPathStackResolver#239 Depth Limit
- public __construct(Laminas\View\Resolver\ResolverInterface $resolver)
Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:30
- public resolve($name, ?Laminas\View\Renderer\RendererInterface $renderer = null) {@inheritDoc}
/** * {@inheritDoc} */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Resolver/RelativeFallbackResolver.php:38
- public const Laminas\View\Resolver\RelativeFallbackResolver::NS_SEPARATOR :: string (1) "/"
- private __file -> string (131) "/home/clients/695306c78d04cb9c26b733d4baa2efc8/sites/ting.museerousseau.ch/o...
- File (16.4KB)
- Contents
-rw-rw-r-- 272772 272772 16836 Jan 10 15:35 /home/clients/695306c78d04cb9c26b733d4baa2efc8/sites/ting.museerousseau.ch/omeka-s/themes/papyrus/view/omeka/site/item/browse.phtml
/home/clients/695306c78d04cb9c26b733d4baa2efc8/sites/ting.museerousseau.ch/omeka-s/themes/papyrus/view/omeka/site/item/browse.phtml
- private __helpers -> Laminas\View\HelperPluginManager#115 Blacklisted
- private __filterChain -> null
- private __vars -> Laminas\View\Variables#1137 (1)
- Properties (1)
- Methods (30)
- Class constants (2)
- Iterator (4)
- protected strictVars -> boolean false
- public __construct(array $variables = array(), array $options = array()) Constructor
/** * Constructor * * @param array $variables * @param array $options */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:46
- public setOptions(array $options): Variables Configure object
/** * Configure object * * @param array $options * @return Variables */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:63
- public setStrictVars($flag): Variables Set status of "strict vars" flag
/** * Set status of "strict vars" flag * * @param bool $flag * @return Variables */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:85
- public isStrict(): bool Are we operating with strict variables?
/** * Are we operating with strict variables? * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:96
- public assign($spec): Variables Assign many values at once
/** * Assign many values at once * * @param array|object $spec * @return Variables * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:108
- public offsetGet($key): mixed Get the variable value
/** * Get the variable value * * If the value has not been defined, a null value will be returned; if * strict vars on in place, a notice will also be raised. * * Otherwise, returns _escaped_ version of the value. * * @param mixed $key * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:142
- public clear(): void Clear all variables
/** * Clear all variables * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:169
- public offsetExists(mixed $key)
- public offsetUnset(mixed $key)
- public append(mixed $value)
- public getArrayCopy()
- public count()
- public getFlags()
- public setFlags(int $flags)
- public asort(int $flags = 0)
- public ksort(int $flags = 0)
- public uasort(callable $callback)
- public uksort(callable $callback)
- public natsort()
- public natcasesort()
- public unserialize(string $data)
- public serialize()
- public __serialize()
- public __unserialize(array $data)
- public getIterator()
- public getIteratorClass()
- public __debugInfo()
- public const ArrayObject::STD_PROP_LIST :: integer 1
- public const ArrayObject::ARRAY_AS_PROPS :: integer 2
- 0 => Omeka\Api\Representation\ItemSetRepresentation#1151 (8)
- Properties (8)
- Methods (58)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1149 Depth Limit
- protected id -> integer 2900
- protected resource -> Omeka\Entity\ItemSet#807 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemSetAdapter#731 Depth Limit
- protected values -> null
- public getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:6
- public getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:11
- public getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:16
- public itemCount(): int Get this set's item count.
/** * Get this set's item count. * * @return int */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:38
- public isOpen(): bool Get whether this set is open or not open.
/** * Get whether this set is open or not open. * * @return bool */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:53
- public primaryMedia() Return the first media of the first item.
/** * Return the first media of the first item. * * {@inheritDoc} */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:63
- public siteUrl($siteSlug = null, $canonical = false)
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:74
- public sites()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:91
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- 1 => Omeka\Api\Representation\SiteRepresentation#744 (8)
- Properties (8)
- Methods (52)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#746 Depth Limit
- protected id -> integer 1
- protected resource -> Omeka\Entity\Site#1050 Depth Limit
- protected adapter -> Omeka\Api\Adapter\SiteAdapter#737 Depth Limit
- protected publicNavContainer -> null
- public getJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:14
- public adminUrl($action = null, $canonical = false)
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:19
- public getJsonLd()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:31
- public slug()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:95
- public title()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:100
- public summary()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:105
- public thumbnail()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:110
- public theme()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:116
- public navigation()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:121
- public homepage()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:126
- public itemPool()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:132
- public created()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:137
- public modified()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:142
- public isPublic()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:147
- public assignNewItems()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:152
- public pages(): \Omeka\Api\Representation\SitePageRepresentation[]
/** * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:160
- public linkedPages(): \Omeka\Api\Representation\SitePageRepresentation[] Return pages that are linked in site navigation, in the order they appear.
/** * Return pages that are linked in site navigation, in the order they appear. * * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:175
- public notLinkedPages(): \Omeka\Api\Representation\SitePageRepresentation[] Return pages that are not linked in site navigation.
/** * Return pages that are not linked in site navigation. * * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:198
- public sitePermissions(): array Return the permissions assigned to this site.
/** * Return the permissions assigned to this site. * * @return array */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:208
- public siteItemSets(): array Return the item sets assigned to this site.
/** * Return the item sets assigned to this site. * * @return array */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:223
- public itemCount(): int Get this site's item count.
/** * Get this site's item count. * * @return int */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:237
- public owner(): UserRepresentation Get the owner representation of this resource.
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:252
- public siteUrl($siteSlug = null, $canonical = false)
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:258
- public adminNav(): \Laminas\View\Helper\Navigation Get the navigation helper for admin-side nav for this site for the current user
/** * Get the navigation helper for admin-side nav for this site for the current user * * @return \Laminas\View\Helper\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:276
- public publicNav(): \Laminas\View\Helper\Navigation Get the navigation helper for public-side nav for this site
/** * Get the navigation helper for public-side nav for this site * * @return \Laminas\View\Helper\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:296
- protected getPublicNavContainer(): \Laminas\Navigation\Navigation Get the navigation container for this site's public nav
/** * Get the navigation container for this site's public nav * * @return \Laminas\Navigation\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:314
- public __construct(Omeka\Entity\EntityInterface $resource, Omeka\Api\Adapter\AdapterInterface $adapter)
Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:14
- public userIsAllowed($privilege): bool Authorize the current user.
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public getControllerName(): string|null Get the name for the controller that handles this kind of resource.
/** * Get the name for the controller that handles this kind of resource. * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:275
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public primaryMedia(): MediaRepresentation|null Get one Media representation that typifies this representation.
/** * Get one Media representation that typifies this representation. * * @return MediaRepresentation|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:92
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- 2 => array (5)
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 Depth Limit
- 1 => Omeka\Api\Representation\ItemRepresentation#1177 Depth Limit
- 2 => Omeka\Api\Representation\ItemRepresentation#1174 Depth Limit
- 3 => Omeka\Api\Representation\ItemRepresentation#1171 Depth Limit
- 4 => Omeka\Api\Representation\ItemRepresentation#1159 Depth Limit
- 3 => array (5)
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 Depth Limit
- 1 => Omeka\Api\Representation\ItemRepresentation#1177 Depth Limit
- 2 => Omeka\Api\Representation\ItemRepresentation#1174 Depth Limit
- 3 => Omeka\Api\Representation\ItemRepresentation#1171 Depth Limit
- 4 => Omeka\Api\Representation\ItemRepresentation#1159 Depth Limit
- private __varsCache -> array (1)
- 0 => Laminas\View\Variables#1146 (1)
- Properties (1)
- Methods (30)
- Class constants (2)
- protected strictVars -> boolean false
- public __construct(array $variables = array(), array $options = array()) Constructor
/** * Constructor * * @param array $variables * @param array $options */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:46
- public setOptions(array $options): Variables Configure object
/** * Configure object * * @param array $options * @return Variables */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:63
- public setStrictVars($flag): Variables Set status of "strict vars" flag
/** * Set status of "strict vars" flag * * @param bool $flag * @return Variables */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:85
- public isStrict(): bool Are we operating with strict variables?
/** * Are we operating with strict variables? * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:96
- public assign($spec): Variables Assign many values at once
/** * Assign many values at once * * @param array|object $spec * @return Variables * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:108
- public offsetGet($key): mixed Get the variable value
/** * Get the variable value * * If the value has not been defined, a null value will be returned; if * strict vars on in place, a notice will also be raised. * * Otherwise, returns _escaped_ version of the value. * * @param mixed $key * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:142
- public clear(): void Clear all variables
/** * Clear all variables * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Variables.php:169
- public offsetExists(mixed $key)
- public offsetUnset(mixed $key)
- public append(mixed $value)
- public getArrayCopy()
- public count()
- public getFlags()
- public setFlags(int $flags)
- public asort(int $flags = 0)
- public ksort(int $flags = 0)
- public uasort(callable $callback)
- public uksort(callable $callback)
- public natsort()
- public natcasesort()
- public unserialize(string $data)
- public serialize()
- public __serialize()
- public __unserialize(array $data)
- public getIterator()
- public getIteratorClass()
- public __debugInfo()
- public const ArrayObject::STD_PROP_LIST :: integer 1
- public const ArrayObject::ARRAY_AS_PROPS :: integer 2
- public __construct($config = array())new \Laminas\View\Renderer\PhpRenderer()
/** * @todo handle passing helper plugin manager, options * @todo handle passing filter chain, options * @todo handle passing variables object, options * @todo handle passing resolver object, options * @param array $config Configuration key-value pairs. */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:159
- public getEngine(): PhpRenderer Return the template engine object$this->params()->getView()->getEngine()
/** * Return the template engine object * * Returns the object instance, as it is its own template engine * * @return PhpRenderer */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:171
- public init(): void Allow custom object initialization when extending PhpRenderer$this->params()->getView()->init()
/** * Allow custom object initialization when extending PhpRenderer * * Triggered by {@link __construct() the constructor} as its final action. * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:183
- public setResolver(Laminas\View\Resolver\ResolverInterface $resolver): PhpRenderer Set script resolver$this->params()->getView()->setResolver()
/** * Set script resolver * * @return PhpRenderer * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:193
- public resolver($name = null): string|Resolver Retrieve template name or template resolver$this->params()->getView()->resolver()
/** * Retrieve template name or template resolver * * @param null|string $name * @return string|Resolver */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:205
- public setVars($variables): PhpRenderer Set variable storage$this->params()->getView()->setVars()
/** * Set variable storage * * Expects either an array, or an object implementing ArrayAccess. * * @param array|ArrayAccess $variables * @return PhpRenderer * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:227
- public vars($key = null): mixed Get a single variable, or all variables$this->params()->getView()->vars()
/** * Get a single variable, or all variables * * @param mixed $key * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:255
- public get($key): mixed Get a single variable$this->params()->getView()->get()
/** * Get a single variable * * @param mixed $key * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:273
- public __get($name): mixed Overloading: proxy to Variables container
/** * Overloading: proxy to Variables container * * @param string $name * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:288
- public __set($name, $value): void Overloading: proxy to Variables container
/** * Overloading: proxy to Variables container * * @param string $name * @param mixed $value * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:301
- public __isset($name): bool Overloading: proxy to Variables container
/** * Overloading: proxy to Variables container * * @param string $name * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:313
- public __unset($name): void Overloading: proxy to Variables container
/** * Overloading: proxy to Variables container * * @param string $name * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:325
- public setHelperPluginManager($helpers): PhpRenderer Set helper plugin manager instance$this->params()->getView()->setHelperPluginManager()
/** * Set helper plugin manager instance * * @param string|HelperPluginManager $helpers * @return PhpRenderer * @throws Exception\InvalidArgumentException */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:341
- public getHelperPluginManager(): HelperPluginManager Get helper plugin manager instance$this->params()->getView()->getHelperPluginManager()
/** * Get helper plugin manager instance * * @return HelperPluginManager */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:369
- public plugin($name, ?array $options = null): AbstractHelper Get plugin instance$this->params()->getView()->plugin()
/** * Get plugin instance * * @param string $name Name of plugin to return * @param null|array $options Options to pass to plugin constructor (if not already instantiated) * @return AbstractHelper */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:384
- public __call($method, $argv): mixed Overloading: proxy to helpers
/** * Overloading: proxy to helpers * * Proxies to the attached plugin manager to retrieve, return, and potentially * execute helpers. * * * If the helper does not define __invoke, it will be returned * * If the helper does define __invoke, it will be called as a functor * * @param string $method * @param array $argv * @return mixed */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:402
- public setFilterChain(Laminas\Filter\FilterChain $filters): PhpRenderer Set filter chain$this->params()->getView()->setFilterChain()
/** * Set filter chain * * @return PhpRenderer */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:418
- public getFilterChain(): FilterChain Retrieve filter chain for post-filtering script content$this->params()->getView()->getFilterChain()
/** * Retrieve filter chain for post-filtering script content * * @return FilterChain */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:429
- public render($nameOrModel, $values = null): string The script output. Processes a view script and returns the output.$this->params()->getView()->render()
/** * Processes a view script and returns the output. * * @param string|Model $nameOrModel Either the template to use, or a * ViewModel. The ViewModel must have the * template as an option in order to be * valid. * @param null|array|Traversable $values Values to use when rendering. If none * provided, uses those in the composed * variables container. * @return string The script output. * @throws Exception\DomainException If a ViewModel is passed, but does not * contain a template option. * @throws Exception\InvalidArgumentException If the values passed are not * an array or ArrayAccess object. * @throws Exception\RuntimeException If the template cannot be rendered. */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:454
- public setCanRenderTrees($renderTrees): PhpRenderer Set flag indicating whether or not we should render trees of view models$this->params()->getView()->setCanRenderTrees()
/** * Set flag indicating whether or not we should render trees of view models * * If set to true, the View instance will not attempt to render children * separately, but instead pass the root view model directly to the PhpRenderer. * It is then up to the developer to render the children from within the * view script. * * @param bool $renderTrees * @return PhpRenderer */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:555
- public canRenderTrees(): bool Can we render trees, or are we configured to do so?$this->params()->getView()->canRenderTrees()
/** * Can we render trees, or are we configured to do so? * * @return bool */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:566
- public addTemplate($template): PhpRenderer Add a template to the stack$this->params()->getView()->addTemplate()
/** * Add a template to the stack * * @param string $template * @return PhpRenderer */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:577
- public __clone(): void Make sure View variables are cloned when the view is cloned.clone $this->params()->getView()
/** * Make sure View variables are cloned when the view is cloned. * * @return void */ Defined in <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:588
- public __construct($config = array())
- $tVars array (4)
- itemSet => Omeka\Api\Representation\ItemSetRepresentation#1151 (8)$tVars['itemSet']
- Properties (8)
- Methods (58)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1149 (4)
- Properties (4)
- Methods (15)
- protected events -> array (0)
- protected eventPrototype -> Laminas\EventManager\Event#1148 Depth Limit
- protected identifiers -> array (2) Depth Limit
- protected sharedManager -> Laminas\EventManager\SharedEventManager#18 Depth Limit
- public __construct(?Laminas\EventManager\SharedEventManagerInterface $sharedEventManager = null, array $identifiers = array()) Constructor
/** * Constructor * * Allows optionally specifying identifier(s) to use to pull signals from a * SharedEventManagerInterface. * * @param array $identifiers */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:73
- public setEventPrototype(Laminas\EventManager\EventInterface $prototype)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:86
- public getSharedManager(): null|SharedEventManagerInterface $sharedEventManager Retrieve the shared event manager, if composed.
/** * Retrieve the shared event manager, if composed. * * @return null|SharedEventManagerInterface $sharedEventManager */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:96
- public getIdentifiers()
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:104
- public setIdentifiers(array $identifiers)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:112
- public addIdentifiers(array $identifiers)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:120
- public trigger($eventName, $target = null, $argv = array())
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:131
- public triggerUntil(callable $callback, $eventName, $target = null, $argv = array())
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:150
- public triggerEvent(Laminas\EventManager\EventInterface $event)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:169
- public triggerEventUntil(callable $callback, Laminas\EventManager\EventInterface $event)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:177
- public attach($eventName, callable $listener, $priority = 1)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:185
- public detach(callable $listener, $eventName = null, $force = false)
/** * @inheritDoc * @throws Exception\InvalidArgumentException For invalid event types. */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:203
- public clearListeners($eventName)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:251
- public prepareArgs(array $args): ArrayObject Prepare arguments
/** * Prepare arguments * * Use this method if you want to be able to modify arguments from within a * listener. It returns an ArrayObject of the arguments, which may then be * passed to trigger(). * * @param array $args * @return ArrayObject */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:268
- protected triggerListeners(Laminas\EventManager\EventInterface $event, ?callable $callback = null): ResponseCollection Trigger listeners
/** * Trigger listeners * * Actual functionality for triggering listeners, to which trigger() delegate. * * @return ResponseCollection */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:280
- protected id -> integer 2900
- protected resource -> Omeka\Entity\ItemSet#807 (13)
- Properties (13)
- Methods (25)
- protected id -> integer 2900
- protected owner -> DoctrineProxies\__CG__\Omeka\Entity\User#889 Depth Limit
- protected resourceClass -> DoctrineProxies\__CG__\Omeka\Entity\ResourceClass#898 Depth Limit
- protected resourceTemplate -> null
- protected thumbnail -> null
- protected title -> string (7) "Reliefs"
- protected isPublic -> boolean true
- protected created -> DateTime#748 Depth Limit
- protected modified -> DateTime#812 Depth Limit
- protected values -> Doctrine\ORM\PersistentCollection#933 Depth Limit
- protected isOpen -> boolean true
- protected items -> Doctrine\ORM\PersistentCollection#949 Depth Limit
- protected siteItemSets -> Doctrine\ORM\PersistentCollection#971 Depth Limit
- public __construct()
Defined in <ROOT>/application/src/Entity/ItemSet.php:33
- public getResourceName()
Defined in <ROOT>/application/src/Entity/ItemSet.php:40
- public getId()
Defined in <ROOT>/application/src/Entity/ItemSet.php:45
- public setIsOpen($isOpen)
Defined in <ROOT>/application/src/Entity/ItemSet.php:50
- public isOpen()
Defined in <ROOT>/application/src/Entity/ItemSet.php:55
- public getItems()
Defined in <ROOT>/application/src/Entity/ItemSet.php:60
- public getSiteItemSets()
Defined in <ROOT>/application/src/Entity/ItemSet.php:65
- public setOwner(?Omeka\Entity\User $owner = null)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:116
- public getOwner()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:121
- public setResourceClass(?Omeka\Entity\ResourceClass $resourceClass = null)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:126
- public getResourceClass()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:131
- public setResourceTemplate(?Omeka\Entity\ResourceTemplate $resourceTemplate = null)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:136
- public getResourceTemplate()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:141
- public setThumbnail(?Omeka\Entity\Asset $thumbnail = null)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:146
- public getThumbnail()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:151
- public setTitle($title)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:156
- public getTitle()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:164
- public setIsPublic($isPublic)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:169
- public isPublic()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:174
- public setCreated(DateTime $dateTime)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:179
- public getCreated()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:184
- public setModified(DateTime $dateTime)
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:189
- public getModified()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:194
- public getValues()
Inherited from Omeka\Entity\Resource Defined in <ROOT>/application/src/Entity/Resource.php:199
- public getResourceId()
Inherited from Omeka\Entity\AbstractEntity Defined in <ROOT>/application/src/Entity/AbstractEntity.php:11
- protected adapter -> Omeka\Api\Adapter\ItemSetAdapter#731 (7)
- Properties (7)
- Methods (55)
- protected translator -> null
- protected serviceLocator -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#732 Depth Limit
- protected index -> integer 1
- protected sortFields -> array (5) Depth Limit
- protected scalarFields -> array (7) Depth Limit
- protected siteItemSetsAlias -> null
- public getResourceName()
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:36
- public getRepresentationClass()
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:41
- public getEntityClass()
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:46
- public buildQuery(Doctrine\ORM\QueryBuilder $qb, array $query)
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:51
- public sortQuery(Doctrine\ORM\QueryBuilder $qb, array $query)
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:110
- public hydrate(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore)
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:125
- public preprocessBatchUpdate(array $data, Omeka\Api\Request $request)
Defined in <ROOT>/application/src/Api/Adapter/ItemSetAdapter.php:135
- public validateEntity(Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore)
Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:194
- protected buildPropertyQuery(Doctrine\ORM\QueryBuilder $qb, array $query) Build query on value.
/** * Build query on value. * * Query format: * * - property[{index}][joiner]: "and" OR "or" joiner with previous query * - property[{index}][property]: property ID * - property[{index}][text]: search text * - property[{index}][type]: search type * - eq: is exactly * - neq: is not exactly * - in: contains * - nin: does not contain * - ex: has any value * - nex: has no value * - sw: starts with * - nsw: does not start with * - ew: ends with * - new: does not end with * - res: has resource * - nres: has no resource * * @param QueryBuilder $qb * @param array $query */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:246
- public getPropertyByTerm($term): EntityInterface Get a property entity by JSON-LD term.
/** * Get a property entity by JSON-LD term. * * @param string $term * @return EntityInterface */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:446
- public getSubjectValuesQueryBuilder(Omeka\Entity\Resource $resource, $propertyId = null, $resourceType = null, $siteId = null): QueryBuilder Get the query builder needed to get subject values.
/** * Get the query builder needed to get subject values. * * Note that the returned query builder does not include $qb->select(). * * The $propertyId argument has three variations, depending on the desired * result: * * - <property-id>: Query all subject values of the specified property, e.g. * 123 * - <property-id>-: Query subject values of the specified property where * there is no corresponding resource template property, e.g. 123- * - <property-id>-<resource-template-property-ids>: Query subject values of * the specified property where there are corresponding resource * template properties, e.g. 123-234,345. Note that you can add subject * values of the specified property where there is no corresponding * resource template property by adding a zero ID, e.g. 123-0,234,345 * * @param Resource $resource * @param int|string|null $propertyId * @param string|null $resourceType * @param int|null $siteId * @return QueryBuilder */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:487
- public getSubjectValues(Omeka\Entity\Resource $resource, $page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get values where the provided resource is the RDF object.
/** * Get values where the provided resource is the RDF object. * * @param Resource $resource * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:573
- public getSubjectValuesSimple(Omeka\Entity\Resource $resource, $propertyId = null, $resourceType = null, $siteId = null): array Get values where the provided resource is the RDF object.
/** * Get values where the provided resource is the RDF object. * * This method gets simple value data (term, id, and title) instead of the * value represenations. Because of this there is no need to include * pagination arguments, like self::getSubjectValues(). * * @param Resource $resource * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:614
- public getSubjectValueTotalCount(Omeka\Entity\Resource $resource, $propertyId = null, $resourceType = null, $siteId = null): int Get the total count of the provided resource's subject values.
/** * Get the total count of the provided resource's subject values. * * @param Resource $resource * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:644
- public getSubjectValueProperties(Omeka\Entity\Resource $resource, $resourceType = null, $siteId = null): array Get distinct properties (predicates) where the provided resource is the RDF o...
/** * Get distinct properties (predicates) where the provided resource is the RDF object. * * @param Resource $resource * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:659
- public getFulltextOwner($resource)
Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:756
- public getFulltextIsPublic($resource)
Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:761
- public getFulltextTitle($resource)
Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:766
- public getFulltextText($resource)
Inherited from Omeka\Api\Adapter\AbstractResourceEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractResourceEntityAdapter.php:771
- public validateRequest(Omeka\Api\Request $request, Omeka\Stdlib\ErrorStore $errorStore) Validate entity data.
/** * Validate entity data. * * This happens before entity hydration. Only use this for validations that * don't require a hydrated entity, typically limited to validating for * expected data format and internal consistency. Set validation errors to * the passed $errorStore object. If an error is set the entity will not be * hydrated, created, or updated. * * @param array $data * @param ErrorStore $errorStore */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:73
- public buildBaseQuery(Doctrine\ORM\QueryBuilder $qb, array $query) Build a conditional search query from an API request.
/** * Build a conditional search query from an API request. * * Modify the passed query builder object according to the passed $query * data. The sort_by, sort_order, page, limit, and offset parameters are * included separately. * * This method is called before buildQuery by the abstract adapter, to * provide common parameters for all entities. * * @param QueryBuilder $qb * @param array $query */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:120
- public sortByCount(Doctrine\ORM\QueryBuilder $qb, array $query, $inverseField, $instanceOf = null) Sort a query by inverse association count.
/** * Sort a query by inverse association count. * * @param QueryBuilder $qb * @param array $query * @param string $inverseField The name of the inverse association field. * @param string|null $instanceOf A fully qualified entity class name. If * provided, count only these instances. */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:179
- public limitQuery(Doctrine\ORM\QueryBuilder $qb, array $query) Set page, limit (max results) and offset (first result) conditions to the que...
/** * Set page, limit (max results) and offset (first result) conditions to the * query builder. * * @param QueryBuilder $qb * @param array $query */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:204
- public search(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:224
- public create(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:350
- public batchCreate(Omeka\Api\Request $request) Batch create entities.
/** * Batch create entities. * * Preserves the keys of the request content array as the keys of the * response content array. This is helpful for implementations that need to * map original identifiers to the newly created entity IDs. * * There are two outcomes if an exception is thrown during a batch. If * continueOnError is set to the request, the current entity is thrown away * but the operation continues. Otherwise, all previously persisted entities * are detached from the entity manager. * * Detaches entities after they've been created to minimize memory usage. * Because the entities are detached, this returns resource references * (containing only the entity ID) instead of full entity representations. * * {@inheritDoc} */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:383
- public read(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:438
- public update(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:450
- public batchUpdate(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:460
- public delete(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:519
- public batchDelete(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:528
- public getEntityManager(): \Doctrine\ORM\EntityManager Get the entity manager.
/** * Get the entity manager. * * @return \Doctrine\ORM\EntityManager */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:580
- public deleteEntity(Omeka\Api\Request $request): EntityInterface Delete an entity.
/** * Delete an entity. * * Encapsulates finding, authorization, post-find event, and removal into * one method. * * @param Request $request * @return EntityInterface */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:594
- public hydrateEntity(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore) Hydrate an entity.
/** * Hydrate an entity. * * Encapsulates hydration, authorization, pre-validation API events, and * validation procedures into one method. * * @throws Exception\ValidationException * @param Request $request * @param EntityInterface $entity * @param ErrorStore $errorStore */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:618
- protected authorize(Omeka\Entity\EntityInterface $entity, $privilege) Verify that the current user has access to the entity.
/** * Verify that the current user has access to the entity. * * @throws Exception\PermissionDeniedException * @param EntityInterface $entity * @param string $privilege */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:675
- public findEntity($criteria, $request = null): EntityInterface Find a single entity by criteria.
/** * Find a single entity by criteria. * * @throws Exception\NotFoundException * @param mixed $criteria * @param Request|null $request * @return EntityInterface */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:696
- public createNamedParameter(Doctrine\ORM\QueryBuilder $qb, $value, $prefix = 'omeka_'): string The placeholder Create a unique named parameter for the query builder and bind a value to it.
/** * Create a unique named parameter for the query builder and bind a value to * it. * * @param QueryBuilder $qb * @param mixed $value The value to bind * @param string $prefix The placeholder prefix * @return string The placeholder */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:739
- public createAlias($prefix = 'omeka_'): string The alias Create a unique alias for the query builder.
/** * Create a unique alias for the query builder. * * @param string $prefix The alias prefix * @return string The alias */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:754
- public isTerm($term): bool Determine whether a string is a valid JSON-LD term.
/** * Determine whether a string is a valid JSON-LD term. * * @param string $term * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:767
- public isUnique(Omeka\Entity\EntityInterface $entity, array $criteria): bool Check for uniqueness by a set of criteria.
/** * Check for uniqueness by a set of criteria. * * @param EntityInterface $entity * @param array $criteria Keys are fields to check, values are strings to * check against. An entity may be passed as a value. * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:780
- public shouldHydrate(Omeka\Api\Request $request, $key): bool Check whether to hydrate on a key.
/** * Check whether to hydrate on a key. * * @param Request $request * @param string $key * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:812
- public hydrateOwner(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's owner.
/** * Hydrate the entity's owner. * * Assumes the owner can be set to NULL. By default, new entities are owned * by the current user. * * This diverges from the conventional hydration pattern for an update * operation. Normally the absence of [o:owner] would set the value to null. * In this case [o:owner][o:id] must explicitly be set to null. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:837
- public hydrateResourceClass(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's resource class.
/** * Hydrate the entity's resource class. * * Assumes the resource class can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:876
- public hydrateResourceTemplate(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's resource template.
/** * Hydrate the entity's resource template. * * Assumes the resource template can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:900
- public hydrateThumbnail(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's thumbanail.
/** * Hydrate the entity's thumbanail. * * Assumes the thumbnail can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:924
- public updateTimestamps(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Update created/modified timestamps as appropriate for a request.
/** * Update created/modified timestamps as appropriate for a request. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:946
- protected detachAllNewEntities(array $oldIdentityMap) Given an old copy of the Doctrine identity map, reset the entity manager to t...
/** * Given an old copy of the Doctrine identity map, reset * the entity manager to that state by detaching all entities that * did not exist in the prior state. * * @param array $oldIdentityMap */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:962
- public getAdapter($resourceName): AdapterInterface Get an adapter by resource name.
/** * Get an adapter by resource name. * * @param string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:133
- public getRepresentation(?Omeka\Api\ResourceInterface $data = null): ResourceInterface|null Compose a resource representation object.
/** * Compose a resource representation object. * * @param mixed $data Whatever data is needed to compose the representation. * @return ResourceInterface|null */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:146
- public getTranslator() Get the translator service
/** * Get the translator service * * return TranslatorInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:161
- public getResourceId()
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:169
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator)
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:174
- public getServiceLocator()
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:180
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- protected values -> null
- public getControllerName()$tVars['itemSet']->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:6
- public getResourceJsonLdType()$tVars['itemSet']->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:11
- public getResourceJsonLd()$tVars['itemSet']->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:16
- public itemCount(): int Get this set's item count.$tVars['itemSet']->itemCount()
/** * Get this set's item count. * * @return int */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:38
- public isOpen(): bool Get whether this set is open or not open.$tVars['itemSet']->isOpen()
/** * Get whether this set is open or not open. * * @return bool */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:53
- public primaryMedia() Return the first media of the first item.$tVars['itemSet']->primaryMedia()
/** * Return the first media of the first item. * * {@inheritDoc} */ Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:63
- public siteUrl($siteSlug = null, $canonical = false)$tVars['itemSet']->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:74
- public sites()$tVars['itemSet']->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemSetRepresentation.php:91
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemSetRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['itemSet']->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['itemSet']->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['itemSet']->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['itemSet']->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['itemSet']->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['itemSet']->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['itemSet']->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['itemSet']->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['itemSet']->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['itemSet']->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['itemSet']->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['itemSet']->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['itemSet']->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['itemSet']->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['itemSet']->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['itemSet']->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['itemSet']->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['itemSet']->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['itemSet']->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['itemSet']->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['itemSet']->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['itemSet']->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['itemSet']->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['itemSet']->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['itemSet']->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['itemSet']->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['itemSet']->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['itemSet']->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['itemSet']->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['itemSet']->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['itemSet']->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['itemSet']->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['itemSet']->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['itemSet']->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['itemSet']->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['itemSet']->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['itemSet']->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['itemSet']->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['itemSet']->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['itemSet']->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['itemSet']->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['itemSet']->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['itemSet']->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- site => Omeka\Api\Representation\SiteRepresentation#744 (8)$tVars['site']
- Properties (8)
- Methods (52)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#746 (4)
- Properties (4)
- Methods (15)
- protected events -> array (0)
- protected eventPrototype -> Laminas\EventManager\Event#740 Depth Limit
- protected identifiers -> array (2) Depth Limit
- protected sharedManager -> Laminas\EventManager\SharedEventManager#18 Depth Limit
- public __construct(?Laminas\EventManager\SharedEventManagerInterface $sharedEventManager = null, array $identifiers = array()) Constructor
/** * Constructor * * Allows optionally specifying identifier(s) to use to pull signals from a * SharedEventManagerInterface. * * @param array $identifiers */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:73
- public setEventPrototype(Laminas\EventManager\EventInterface $prototype)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:86
- public getSharedManager(): null|SharedEventManagerInterface $sharedEventManager Retrieve the shared event manager, if composed.
/** * Retrieve the shared event manager, if composed. * * @return null|SharedEventManagerInterface $sharedEventManager */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:96
- public getIdentifiers()
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:104
- public setIdentifiers(array $identifiers)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:112
- public addIdentifiers(array $identifiers)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:120
- public trigger($eventName, $target = null, $argv = array())
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:131
- public triggerUntil(callable $callback, $eventName, $target = null, $argv = array())
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:150
- public triggerEvent(Laminas\EventManager\EventInterface $event)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:169
- public triggerEventUntil(callable $callback, Laminas\EventManager\EventInterface $event)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:177
- public attach($eventName, callable $listener, $priority = 1)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:185
- public detach(callable $listener, $eventName = null, $force = false)
/** * @inheritDoc * @throws Exception\InvalidArgumentException For invalid event types. */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:203
- public clearListeners($eventName)
/** * @inheritDoc */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:251
- public prepareArgs(array $args): ArrayObject Prepare arguments
/** * Prepare arguments * * Use this method if you want to be able to modify arguments from within a * listener. It returns an ArrayObject of the arguments, which may then be * passed to trigger(). * * @param array $args * @return ArrayObject */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:268
- protected triggerListeners(Laminas\EventManager\EventInterface $event, ?callable $callback = null): ResponseCollection Trigger listeners
/** * Trigger listeners * * Actual functionality for triggering listeners, to which trigger() delegate. * * @return ResponseCollection */ Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:280
- protected id -> integer 1
- protected resource -> Omeka\Entity\Site#1050 (18)
- Properties (18)
- Methods (33)
- protected id -> integer 1
- protected slug -> string (3) "mrm"
- protected theme -> string (7) "papyrus"
- protected title -> UTF-8 string (24) "Musée Rousseau Môtiers"
- protected summary -> null
- protected thumbnail -> DoctrineProxies\__CG__\Omeka\Entity\Asset#1040 Depth Limit
- protected navigation -> array (6) Depth Limit
- protected homepage -> DoctrineProxies\__CG__\Omeka\Entity\SitePage#1083 Depth Limit
- protected itemPool -> array (0)
- protected owner -> DoctrineProxies\__CG__\Omeka\Entity\User#889 Depth Limit
- protected created -> DateTime#980 Depth Limit
- protected modified -> DateTime#1045 Depth Limit
- protected isPublic -> boolean true
- protected assignNewItems -> boolean false
- protected pages -> Doctrine\ORM\PersistentCollection#1084 Depth Limit
- protected sitePermissions -> Doctrine\ORM\PersistentCollection#1102 Depth Limit
- protected siteItemSets -> Doctrine\ORM\PersistentCollection#1104 Depth Limit
- protected items -> Doctrine\ORM\PersistentCollection#1106 Depth Limit
- public __construct()
Defined in <ROOT>/application/src/Entity/Site.php:125
- public getId()
Defined in <ROOT>/application/src/Entity/Site.php:133
- public setSlug($slug)
Defined in <ROOT>/application/src/Entity/Site.php:138
- public getSlug()
Defined in <ROOT>/application/src/Entity/Site.php:143
- public setTheme($theme)
Defined in <ROOT>/application/src/Entity/Site.php:148
- public getTheme()
Defined in <ROOT>/application/src/Entity/Site.php:153
- public setTitle($title)
Defined in <ROOT>/application/src/Entity/Site.php:158
- public getTitle()
Defined in <ROOT>/application/src/Entity/Site.php:163
- public setSummary($summary)
Defined in <ROOT>/application/src/Entity/Site.php:168
- public getSummary()
Defined in <ROOT>/application/src/Entity/Site.php:173
- public setThumbnail(?Omeka\Entity\Asset $thumbnail = null)
Defined in <ROOT>/application/src/Entity/Site.php:178
- public getThumbnail()
Defined in <ROOT>/application/src/Entity/Site.php:183
- public setNavigation($navigation)
Defined in <ROOT>/application/src/Entity/Site.php:188
- public getNavigation()
Defined in <ROOT>/application/src/Entity/Site.php:193
- public setHomepage(?Omeka\Entity\SitePage $homepage = null)
Defined in <ROOT>/application/src/Entity/Site.php:198
- public getHomepage()
Defined in <ROOT>/application/src/Entity/Site.php:203
- public setItemPool($itemPool)
Defined in <ROOT>/application/src/Entity/Site.php:208
- public getItemPool()
Defined in <ROOT>/application/src/Entity/Site.php:213
- public setOwner(?Omeka\Entity\User $owner = null)
Defined in <ROOT>/application/src/Entity/Site.php:218
- public getOwner()
Defined in <ROOT>/application/src/Entity/Site.php:223
- public setCreated(DateTime $dateTime)
Defined in <ROOT>/application/src/Entity/Site.php:228
- public getCreated()
Defined in <ROOT>/application/src/Entity/Site.php:233
- public setModified(DateTime $dateTime)
Defined in <ROOT>/application/src/Entity/Site.php:238
- public getModified()
Defined in <ROOT>/application/src/Entity/Site.php:243
- public setIsPublic($isPublic)
Defined in <ROOT>/application/src/Entity/Site.php:248
- public isPublic()
Defined in <ROOT>/application/src/Entity/Site.php:253
- public setAssignNewItems($assignNewItems)
Defined in <ROOT>/application/src/Entity/Site.php:258
- public getAssignNewItems()
Defined in <ROOT>/application/src/Entity/Site.php:263
- public getPages()
Defined in <ROOT>/application/src/Entity/Site.php:268
- public getSitePermissions()
Defined in <ROOT>/application/src/Entity/Site.php:273
- public getSiteItemSets()
Defined in <ROOT>/application/src/Entity/Site.php:278
- public getItems()
Defined in <ROOT>/application/src/Entity/Site.php:283
- public getResourceId()
Inherited from Omeka\Entity\AbstractEntity Defined in <ROOT>/application/src/Entity/AbstractEntity.php:11
- protected adapter -> Omeka\Api\Adapter\SiteAdapter#737 (6)
- Properties (6)
- Methods (50)
- protected translator -> null
- protected serviceLocator -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#723 Depth Limit
- protected index -> integer 1
- protected sortFields -> array (6) Depth Limit
- protected scalarFields -> array (11) Depth Limit
- public getResourceName()
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:41
- public getRepresentationClass()
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:46
- public getEntityClass()
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:51
- public hydrate(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore)
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:56
- public validateEntity(Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore)
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:254
- public buildQuery(Doctrine\ORM\QueryBuilder $qb, array $query)
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:289
- public sortQuery(Doctrine\ORM\QueryBuilder $qb, array $query)
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:333
- protected validateNavigation(Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore) Validate navigation.
/** * Validate navigation. * * Prevent corrupt navigation data by validating prior to saving. * * @param EntityInterface $entity * @param ErrorStore $errorStore */ Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:352
- protected getDefaultNavigation(): array Get the default nav array for new sites with no specified navigation.
/** * Get the default nav array for new sites with no specified * navigation. * * The default is to just include a link to the browse page. * * @return array */ Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:405
- protected getFirstPageContent()
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:420
- protected getSecondPageContent()
Defined in <ROOT>/application/src/Api/Adapter/SiteAdapter.php:453
- public validateRequest(Omeka\Api\Request $request, Omeka\Stdlib\ErrorStore $errorStore) Validate entity data.
/** * Validate entity data. * * This happens before entity hydration. Only use this for validations that * don't require a hydrated entity, typically limited to validating for * expected data format and internal consistency. Set validation errors to * the passed $errorStore object. If an error is set the entity will not be * hydrated, created, or updated. * * @param array $data * @param ErrorStore $errorStore */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:73
- public buildBaseQuery(Doctrine\ORM\QueryBuilder $qb, array $query) Build a conditional search query from an API request.
/** * Build a conditional search query from an API request. * * Modify the passed query builder object according to the passed $query * data. The sort_by, sort_order, page, limit, and offset parameters are * included separately. * * This method is called before buildQuery by the abstract adapter, to * provide common parameters for all entities. * * @param QueryBuilder $qb * @param array $query */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:120
- public sortByCount(Doctrine\ORM\QueryBuilder $qb, array $query, $inverseField, $instanceOf = null) Sort a query by inverse association count.
/** * Sort a query by inverse association count. * * @param QueryBuilder $qb * @param array $query * @param string $inverseField The name of the inverse association field. * @param string|null $instanceOf A fully qualified entity class name. If * provided, count only these instances. */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:179
- public limitQuery(Doctrine\ORM\QueryBuilder $qb, array $query) Set page, limit (max results) and offset (first result) conditions to the que...
/** * Set page, limit (max results) and offset (first result) conditions to the * query builder. * * @param QueryBuilder $qb * @param array $query */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:204
- public search(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:224
- public create(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:350
- public batchCreate(Omeka\Api\Request $request) Batch create entities.
/** * Batch create entities. * * Preserves the keys of the request content array as the keys of the * response content array. This is helpful for implementations that need to * map original identifiers to the newly created entity IDs. * * There are two outcomes if an exception is thrown during a batch. If * continueOnError is set to the request, the current entity is thrown away * but the operation continues. Otherwise, all previously persisted entities * are detached from the entity manager. * * Detaches entities after they've been created to minimize memory usage. * Because the entities are detached, this returns resource references * (containing only the entity ID) instead of full entity representations. * * {@inheritDoc} */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:383
- public read(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:438
- public update(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:450
- public batchUpdate(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:460
- public delete(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:519
- public batchDelete(Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:528
- public getEntityManager(): \Doctrine\ORM\EntityManager Get the entity manager.
/** * Get the entity manager. * * @return \Doctrine\ORM\EntityManager */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:580
- public deleteEntity(Omeka\Api\Request $request): EntityInterface Delete an entity.
/** * Delete an entity. * * Encapsulates finding, authorization, post-find event, and removal into * one method. * * @param Request $request * @return EntityInterface */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:594
- public hydrateEntity(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity, Omeka\Stdlib\ErrorStore $errorStore) Hydrate an entity.
/** * Hydrate an entity. * * Encapsulates hydration, authorization, pre-validation API events, and * validation procedures into one method. * * @throws Exception\ValidationException * @param Request $request * @param EntityInterface $entity * @param ErrorStore $errorStore */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:618
- protected authorize(Omeka\Entity\EntityInterface $entity, $privilege) Verify that the current user has access to the entity.
/** * Verify that the current user has access to the entity. * * @throws Exception\PermissionDeniedException * @param EntityInterface $entity * @param string $privilege */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:675
- public findEntity($criteria, $request = null): EntityInterface Find a single entity by criteria.
/** * Find a single entity by criteria. * * @throws Exception\NotFoundException * @param mixed $criteria * @param Request|null $request * @return EntityInterface */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:696
- public createNamedParameter(Doctrine\ORM\QueryBuilder $qb, $value, $prefix = 'omeka_'): string The placeholder Create a unique named parameter for the query builder and bind a value to it.
/** * Create a unique named parameter for the query builder and bind a value to * it. * * @param QueryBuilder $qb * @param mixed $value The value to bind * @param string $prefix The placeholder prefix * @return string The placeholder */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:739
- public createAlias($prefix = 'omeka_'): string The alias Create a unique alias for the query builder.
/** * Create a unique alias for the query builder. * * @param string $prefix The alias prefix * @return string The alias */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:754
- public isTerm($term): bool Determine whether a string is a valid JSON-LD term.
/** * Determine whether a string is a valid JSON-LD term. * * @param string $term * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:767
- public isUnique(Omeka\Entity\EntityInterface $entity, array $criteria): bool Check for uniqueness by a set of criteria.
/** * Check for uniqueness by a set of criteria. * * @param EntityInterface $entity * @param array $criteria Keys are fields to check, values are strings to * check against. An entity may be passed as a value. * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:780
- public shouldHydrate(Omeka\Api\Request $request, $key): bool Check whether to hydrate on a key.
/** * Check whether to hydrate on a key. * * @param Request $request * @param string $key * @return bool */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:812
- public hydrateOwner(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's owner.
/** * Hydrate the entity's owner. * * Assumes the owner can be set to NULL. By default, new entities are owned * by the current user. * * This diverges from the conventional hydration pattern for an update * operation. Normally the absence of [o:owner] would set the value to null. * In this case [o:owner][o:id] must explicitly be set to null. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:837
- public hydrateResourceClass(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's resource class.
/** * Hydrate the entity's resource class. * * Assumes the resource class can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:876
- public hydrateResourceTemplate(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's resource template.
/** * Hydrate the entity's resource template. * * Assumes the resource template can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:900
- public hydrateThumbnail(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Hydrate the entity's thumbanail.
/** * Hydrate the entity's thumbanail. * * Assumes the thumbnail can be set to NULL. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:924
- public updateTimestamps(Omeka\Api\Request $request, Omeka\Entity\EntityInterface $entity) Update created/modified timestamps as appropriate for a request.
/** * Update created/modified timestamps as appropriate for a request. * * @param Request $request * @param EntityInterface $entity */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:946
- protected detachAllNewEntities(array $oldIdentityMap) Given an old copy of the Doctrine identity map, reset the entity manager to t...
/** * Given an old copy of the Doctrine identity map, reset * the entity manager to that state by detaching all entities that * did not exist in the prior state. * * @param array $oldIdentityMap */ Inherited from Omeka\Api\Adapter\AbstractEntityAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractEntityAdapter.php:962
- public preprocessBatchUpdate(array $data, Omeka\Api\Request $request)
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:96
- public getAdapter($resourceName): AdapterInterface Get an adapter by resource name.
/** * Get an adapter by resource name. * * @param string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:133
- public getRepresentation(?Omeka\Api\ResourceInterface $data = null): ResourceInterface|null Compose a resource representation object.
/** * Compose a resource representation object. * * @param mixed $data Whatever data is needed to compose the representation. * @return ResourceInterface|null */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:146
- public getTranslator() Get the translator service
/** * Get the translator service * * return TranslatorInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:161
- public getResourceId()
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:169
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator)
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:174
- public getServiceLocator()
Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/application/src/Api/Adapter/AbstractAdapter.php:180
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Adapter\AbstractAdapter Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- protected getAutomaticSlug($title, ?Omeka\Entity\Site $site = null): string Get a valid and unused slug for a given title
/** * Get a valid and unused slug for a given title * * @param string $title * @param Site $site * @return string */ Defined in <ROOT>/application/src/Api/Adapter/SiteSlugTrait.php:19
- protected slugify($input): string Transform the given string into a valid URL slug
/** * Transform the given string into a valid URL slug * * @param string $input * @return string */ Defined in <ROOT>/application/src/Api/Adapter/SiteSlugTrait.php:64
- protected publicNavContainer -> null
- public getJsonLdType()$tVars['site']->getJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:14
- public adminUrl($action = null, $canonical = false)$tVars['site']->adminUrl()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:19
- public getJsonLd()$tVars['site']->getJsonLd()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:31
- public slug()$tVars['site']->slug()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:95
- public title()$tVars['site']->title()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:100
- public summary()$tVars['site']->summary()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:105
- public thumbnail()$tVars['site']->thumbnail()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:110
- public theme()$tVars['site']->theme()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:116
- public navigation()$tVars['site']->navigation()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:121
- public homepage()$tVars['site']->homepage()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:126
- public itemPool()$tVars['site']->itemPool()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:132
- public created()$tVars['site']->created()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:137
- public modified()$tVars['site']->modified()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:142
- public isPublic()$tVars['site']->isPublic()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:147
- public assignNewItems()$tVars['site']->assignNewItems()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:152
- public pages(): \Omeka\Api\Representation\SitePageRepresentation[]$tVars['site']->pages()
/** * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:160
- public linkedPages(): \Omeka\Api\Representation\SitePageRepresentation[] Return pages that are linked in site navigation, in the order they appear.$tVars['site']->linkedPages()
/** * Return pages that are linked in site navigation, in the order they appear. * * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:175
- public notLinkedPages(): \Omeka\Api\Representation\SitePageRepresentation[] Return pages that are not linked in site navigation.$tVars['site']->notLinkedPages()
/** * Return pages that are not linked in site navigation. * * @return \Omeka\Api\Representation\SitePageRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:198
- public sitePermissions(): array Return the permissions assigned to this site.$tVars['site']->sitePermissions()
/** * Return the permissions assigned to this site. * * @return array */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:208
- public siteItemSets(): array Return the item sets assigned to this site.$tVars['site']->siteItemSets()
/** * Return the item sets assigned to this site. * * @return array */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:223
- public itemCount(): int Get this site's item count.$tVars['site']->itemCount()
/** * Get this site's item count. * * @return int */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:237
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['site']->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:252
- public siteUrl($siteSlug = null, $canonical = false)$tVars['site']->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:258
- public adminNav(): \Laminas\View\Helper\Navigation Get the navigation helper for admin-side nav for this site for the current user$tVars['site']->adminNav()
/** * Get the navigation helper for admin-side nav for this site for the current user * * @return \Laminas\View\Helper\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:276
- public publicNav(): \Laminas\View\Helper\Navigation Get the navigation helper for public-side nav for this site$tVars['site']->publicNav()
/** * Get the navigation helper for public-side nav for this site * * @return \Laminas\View\Helper\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:296
- protected getPublicNavContainer(): \Laminas\Navigation\Navigation Get the navigation container for this site's public nav
/** * Get the navigation container for this site's public nav * * @return \Laminas\Navigation\Navigation */ Defined in <ROOT>/application/src/Api/Representation/SiteRepresentation.php:314
- public __construct(Omeka\Entity\EntityInterface $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\SiteRepresentation()
Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:14
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['site']->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['site']->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['site']->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['site']->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['site']->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['site']->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['site']->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['site']->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['site']->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public getControllerName(): string|null Get the name for the controller that handles this kind of resource.$tVars['site']->getControllerName()
/** * Get the name for the controller that handles this kind of resource. * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:275
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['site']->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public primaryMedia(): MediaRepresentation|null Get one Media representation that typifies this representation.$tVars['site']->primaryMedia()
/** * Get one Media representation that typifies this representation. * * @return MediaRepresentation|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:92
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['site']->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['site']->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['site']->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['site']->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['site']->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['site']->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['site']->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getJsonLdType()
- items => array (5)$tVars['items']
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 (8)$tVars['items'][0]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1160 Depth Limit
- protected id -> integer 264
- protected resource -> Omeka\Entity\Item#1290 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['items'][0]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['items'][0]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['items'][0]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['items'][0]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['items'][0]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['items'][0]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['items'][0]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['items'][0]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['items'][0]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['items'][0]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['items'][0]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['items'][0]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['items'][0]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['items'][0]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['items'][0]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['items'][0]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['items'][0]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['items'][0]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['items'][0]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['items'][0]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['items'][0]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['items'][0]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['items'][0]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['items'][0]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['items'][0]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['items'][0]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['items'][0]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['items'][0]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['items'][0]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['items'][0]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['items'][0]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['items'][0]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['items'][0]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['items'][0]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['items'][0]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['items'][0]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['items'][0]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['items'][0]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['items'][0]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['items'][0]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['items'][0]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['items'][0]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['items'][0]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['items'][0]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['items'][0]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['items'][0]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['items'][0]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['items'][0]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['items'][0]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['items'][0]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['items'][0]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['items'][0]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 1 => Omeka\Api\Representation\ItemRepresentation#1177 (8)$tVars['items'][1]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1176 Depth Limit
- protected id -> integer 870
- protected resource -> Omeka\Entity\Item#1352 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['items'][1]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['items'][1]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['items'][1]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['items'][1]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['items'][1]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['items'][1]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['items'][1]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['items'][1]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['items'][1]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['items'][1]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['items'][1]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['items'][1]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['items'][1]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['items'][1]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['items'][1]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['items'][1]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['items'][1]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['items'][1]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['items'][1]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['items'][1]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['items'][1]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['items'][1]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['items'][1]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['items'][1]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['items'][1]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['items'][1]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['items'][1]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['items'][1]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['items'][1]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['items'][1]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['items'][1]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['items'][1]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['items'][1]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['items'][1]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['items'][1]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['items'][1]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['items'][1]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['items'][1]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['items'][1]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['items'][1]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['items'][1]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['items'][1]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['items'][1]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['items'][1]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['items'][1]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['items'][1]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['items'][1]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['items'][1]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['items'][1]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['items'][1]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['items'][1]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['items'][1]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 2 => Omeka\Api\Representation\ItemRepresentation#1174 (8)$tVars['items'][2]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1170 Depth Limit
- protected id -> integer 872
- protected resource -> Omeka\Entity\Item#1365 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['items'][2]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['items'][2]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['items'][2]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['items'][2]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['items'][2]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['items'][2]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['items'][2]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['items'][2]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['items'][2]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['items'][2]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['items'][2]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['items'][2]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['items'][2]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['items'][2]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['items'][2]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['items'][2]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['items'][2]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['items'][2]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['items'][2]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['items'][2]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['items'][2]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['items'][2]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['items'][2]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['items'][2]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['items'][2]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['items'][2]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['items'][2]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['items'][2]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['items'][2]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['items'][2]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['items'][2]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['items'][2]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['items'][2]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['items'][2]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['items'][2]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['items'][2]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['items'][2]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['items'][2]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['items'][2]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['items'][2]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['items'][2]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['items'][2]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['items'][2]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['items'][2]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['items'][2]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['items'][2]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['items'][2]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['items'][2]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['items'][2]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['items'][2]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['items'][2]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['items'][2]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 3 => Omeka\Api\Representation\ItemRepresentation#1171 (8)$tVars['items'][3]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1163 Depth Limit
- protected id -> integer 1310
- protected resource -> Omeka\Entity\Item#1378 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['items'][3]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['items'][3]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['items'][3]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['items'][3]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['items'][3]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['items'][3]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['items'][3]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['items'][3]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['items'][3]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['items'][3]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['items'][3]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['items'][3]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['items'][3]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['items'][3]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['items'][3]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['items'][3]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['items'][3]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['items'][3]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['items'][3]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['items'][3]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['items'][3]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['items'][3]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['items'][3]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['items'][3]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['items'][3]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['items'][3]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['items'][3]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['items'][3]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['items'][3]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['items'][3]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['items'][3]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['items'][3]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['items'][3]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['items'][3]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['items'][3]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['items'][3]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['items'][3]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['items'][3]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['items'][3]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['items'][3]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['items'][3]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['items'][3]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['items'][3]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['items'][3]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['items'][3]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['items'][3]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['items'][3]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['items'][3]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['items'][3]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['items'][3]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['items'][3]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['items'][3]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 4 => Omeka\Api\Representation\ItemRepresentation#1159 (8)$tVars['items'][4]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1158 Depth Limit
- protected id -> integer 342
- protected resource -> Omeka\Entity\Item#1391 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['items'][4]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['items'][4]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['items'][4]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['items'][4]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['items'][4]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['items'][4]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['items'][4]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['items'][4]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['items'][4]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['items'][4]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['items'][4]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['items'][4]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['items'][4]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['items'][4]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['items'][4]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['items'][4]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['items'][4]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['items'][4]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['items'][4]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['items'][4]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['items'][4]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['items'][4]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['items'][4]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['items'][4]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['items'][4]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['items'][4]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['items'][4]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['items'][4]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['items'][4]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['items'][4]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['items'][4]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['items'][4]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['items'][4]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['items'][4]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['items'][4]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['items'][4]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['items'][4]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['items'][4]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['items'][4]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['items'][4]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['items'][4]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['items'][4]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['items'][4]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['items'][4]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['items'][4]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['items'][4]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['items'][4]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['items'][4]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['items'][4]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['items'][4]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['items'][4]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['items'][4]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 (8)
- resources => array (5)$tVars['resources']
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 (8)$tVars['resources'][0]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1160 Depth Limit
- protected id -> integer 264
- protected resource -> Omeka\Entity\Item#1290 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['resources'][0]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['resources'][0]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['resources'][0]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['resources'][0]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['resources'][0]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['resources'][0]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['resources'][0]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['resources'][0]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['resources'][0]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['resources'][0]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['resources'][0]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['resources'][0]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['resources'][0]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['resources'][0]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['resources'][0]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['resources'][0]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['resources'][0]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['resources'][0]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['resources'][0]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['resources'][0]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['resources'][0]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['resources'][0]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['resources'][0]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['resources'][0]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['resources'][0]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['resources'][0]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['resources'][0]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['resources'][0]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['resources'][0]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['resources'][0]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['resources'][0]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['resources'][0]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['resources'][0]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['resources'][0]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['resources'][0]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['resources'][0]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['resources'][0]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['resources'][0]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['resources'][0]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['resources'][0]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['resources'][0]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['resources'][0]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['resources'][0]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['resources'][0]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['resources'][0]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['resources'][0]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['resources'][0]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['resources'][0]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['resources'][0]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['resources'][0]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['resources'][0]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['resources'][0]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 1 => Omeka\Api\Representation\ItemRepresentation#1177 (8)$tVars['resources'][1]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1176 Depth Limit
- protected id -> integer 870
- protected resource -> Omeka\Entity\Item#1352 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['resources'][1]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['resources'][1]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['resources'][1]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['resources'][1]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['resources'][1]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['resources'][1]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['resources'][1]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['resources'][1]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['resources'][1]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['resources'][1]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['resources'][1]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['resources'][1]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['resources'][1]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['resources'][1]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['resources'][1]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['resources'][1]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['resources'][1]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['resources'][1]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['resources'][1]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['resources'][1]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['resources'][1]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['resources'][1]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['resources'][1]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['resources'][1]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['resources'][1]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['resources'][1]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['resources'][1]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['resources'][1]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['resources'][1]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['resources'][1]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['resources'][1]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['resources'][1]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['resources'][1]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['resources'][1]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['resources'][1]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['resources'][1]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['resources'][1]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['resources'][1]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['resources'][1]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['resources'][1]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['resources'][1]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['resources'][1]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['resources'][1]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['resources'][1]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['resources'][1]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['resources'][1]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['resources'][1]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['resources'][1]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['resources'][1]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['resources'][1]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['resources'][1]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['resources'][1]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 2 => Omeka\Api\Representation\ItemRepresentation#1174 (8)$tVars['resources'][2]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1170 Depth Limit
- protected id -> integer 872
- protected resource -> Omeka\Entity\Item#1365 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['resources'][2]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['resources'][2]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['resources'][2]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['resources'][2]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['resources'][2]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['resources'][2]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['resources'][2]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['resources'][2]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['resources'][2]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['resources'][2]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['resources'][2]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['resources'][2]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['resources'][2]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['resources'][2]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['resources'][2]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['resources'][2]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['resources'][2]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['resources'][2]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['resources'][2]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['resources'][2]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['resources'][2]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['resources'][2]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['resources'][2]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['resources'][2]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['resources'][2]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['resources'][2]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['resources'][2]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['resources'][2]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['resources'][2]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['resources'][2]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['resources'][2]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['resources'][2]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['resources'][2]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['resources'][2]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['resources'][2]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['resources'][2]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['resources'][2]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['resources'][2]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['resources'][2]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['resources'][2]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['resources'][2]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['resources'][2]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['resources'][2]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['resources'][2]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['resources'][2]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['resources'][2]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['resources'][2]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['resources'][2]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['resources'][2]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['resources'][2]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['resources'][2]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['resources'][2]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 3 => Omeka\Api\Representation\ItemRepresentation#1171 (8)$tVars['resources'][3]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1163 Depth Limit
- protected id -> integer 1310
- protected resource -> Omeka\Entity\Item#1378 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['resources'][3]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['resources'][3]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['resources'][3]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['resources'][3]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['resources'][3]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['resources'][3]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['resources'][3]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['resources'][3]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['resources'][3]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['resources'][3]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['resources'][3]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['resources'][3]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['resources'][3]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['resources'][3]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['resources'][3]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['resources'][3]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['resources'][3]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['resources'][3]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['resources'][3]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['resources'][3]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['resources'][3]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['resources'][3]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['resources'][3]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['resources'][3]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['resources'][3]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['resources'][3]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['resources'][3]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['resources'][3]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['resources'][3]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['resources'][3]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['resources'][3]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['resources'][3]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['resources'][3]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['resources'][3]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['resources'][3]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['resources'][3]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['resources'][3]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['resources'][3]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['resources'][3]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['resources'][3]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['resources'][3]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['resources'][3]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['resources'][3]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['resources'][3]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['resources'][3]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['resources'][3]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['resources'][3]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['resources'][3]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['resources'][3]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['resources'][3]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['resources'][3]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['resources'][3]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 4 => Omeka\Api\Representation\ItemRepresentation#1159 (8)$tVars['resources'][4]
- Properties (8)
- Methods (59)
- protected translator -> null
- protected viewHelperManager -> null
- protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
- protected events -> Laminas\EventManager\EventManager#1158 Depth Limit
- protected id -> integer 342
- protected resource -> Omeka\Entity\Item#1391 Depth Limit
- protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
- protected values -> null
- public getControllerName()$tVars['resources'][4]->getControllerName()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
- public getResourceJsonLdType()$tVars['resources'][4]->getResourceJsonLdType()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
- public getResourceJsonLd()$tVars['resources'][4]->getResourceJsonLd()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
- public media(): MediaRepresentation[] Get the media associated with this item.$tVars['resources'][4]->media()
/** * Get the media associated with this item. * * @return MediaRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:47
- public itemSets(): ItemSetRepresentation[] Get the item sets associated with this item.$tVars['resources'][4]->itemSets()
/** * Get the item sets associated with this item. * * @return ItemSetRepresentation[] */ Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:62
- public sites()$tVars['resources'][4]->sites()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
- public primaryMedia()$tVars['resources'][4]->primaryMedia()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
- public siteUrl($siteSlug = null, $canonical = false)$tVars['resources'][4]->siteUrl()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
- public sitePages($siteId)$tVars['resources'][4]->sitePages()
Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:123
- public __construct(Omeka\Entity\Resource $resource, Omeka\Api\Adapter\AdapterInterface $adapter)new \Omeka\Api\Representation\ItemRepresentation()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:50
- public getJsonLdType()$tVars['resources'][4]->getJsonLdType()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
- public getJsonLd()$tVars['resources'][4]->getJsonLd()
Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:68
- public resourceName(): string Get the resource name of the corresponding entity API adapter.$tVars['resources'][4]->resourceName()
/** * Get the resource name of the corresponding entity API adapter. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:142
- public resourceClass(): ResourceClassRepresentation Get the resource class representation of this resource.$tVars['resources'][4]->resourceClass()
/** * Get the resource class representation of this resource. * * @return ResourceClassRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:152
- public resourceTemplate(): ResourceTemplateRepresentation Get the resource template of this resource.$tVars['resources'][4]->resourceTemplate()
/** * Get the resource template of this resource. * * @return ResourceTemplateRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:163
- public thumbnail(): AssetRepresentation Get the thumbnail of this resource.$tVars['resources'][4]->thumbnail()
/** * Get the thumbnail of this resource. * * @return AssetRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:174
- public title(): string Get the title of this resource.$tVars['resources'][4]->title()
/** * Get the title of this resource. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:185
- public owner(): UserRepresentation Get the owner representation of this resource.$tVars['resources'][4]->owner()
/** * Get the owner representation of this resource. * * @return UserRepresentation */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:201
- public isPublic(): bool Get whether this resource is public or not public.$tVars['resources'][4]->isPublic()
/** * Get whether this resource is public or not public. * * @return bool */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:212
- public created(): \DateTime Get the date-time when this resource was created.$tVars['resources'][4]->created()
/** * Get the date-time when this resource was created. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:222
- public modified(): \DateTime Get the date-time when this resource was last modified.$tVars['resources'][4]->modified()
/** * Get the date-time when this resource was last modified. * * @return \DateTime */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:232
- public values(): array Get all value representations of this resource by term.$tVars['resources'][4]->values()
/** * Get all value representations of this resource by term. * * <code> * array( * {term} => array( * 'property' => {PropertyRepresentation}, * 'alternate_label' => {label}, * 'alternate_comment' => {comment}, * 'values' => array( * {ValueRepresentation}, * {ValueRepresentation}, * {…}, * ), * ), * ) * </code> * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:257
- public value($term, array $options = array()): ValueRepresentation|ValueRepresentation[]|mixed Get value representations.$tVars['resources'][4]->value()
/** * Get value representations. * * @param string $term The prefix:local_part * @param array $options * - type (array|string): Get values of these types only. Default types are * "literal", "uri", "resource", "resource:item", "resource:media" and * "resource:itemset". Returns all types by default. * - all: (false) If true, returns all values that match criteria. If false, * returns the first matching value. * - default: (null) Default value if no values match criteria. Returns null * by default for single result, empty array for all results. * - lang (array|string): Get values of these languages only. Returns values * of all languages by default. Use `['']` to get values without language. * @return ValueRepresentation|ValueRepresentation[]|mixed */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:337
- public subjectValues($page = null, $perPage = null, $propertyId = null, $resourceType = null, $siteId = null): array Get value representations where this resource is the RDF object.$tVars['resources'][4]->subjectValues()
/** * Get value representations where this resource is the RDF object. * * @param int $page * @param int $perPage * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:400
- public subjectValuesForReverse($propertyId = null, $resourceType = null, $siteId = null): array Get the subject values for the JSON-LD @reverse array.$tVars['resources'][4]->subjectValuesForReverse()
/** * Get the subject values for the JSON-LD @reverse array. * * @see https://w3c.github.io/json-ld-syntax/#reverse-properties * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:421
- public subjectValueTotalCount($propertyId = null, $resourceType = null, $siteId = null): int Get the total count of this resource's subject values.$tVars['resources'][4]->subjectValueTotalCount()
/** * Get the total count of this resource's subject values. * * @param int|string|null $propertyId Filter by property ID * @param string|null $resourceType Filter by resource type * @param int|null $siteId Filter by site ID * @return int */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:443
- public objectValues(): array Get value representations where this resource is the RDF subject.$tVars['resources'][4]->objectValues()
/** * Get value representations where this resource is the RDF subject. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:453
- public displayValues(array $options = array()): string Get the display markup for all values of this resource.$tVars['resources'][4]->displayValues()
/** * Get the display markup for all values of this resource. * * Options: * * - viewName: Name of view script, or a view model. Default "common/resource-values" * - siteId: A site ID * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:477
- public displaySubjectValues(array $options = array()): string Get the display markup for values where this resource is the RDF object.$tVars['resources'][4]->displaySubjectValues()
/** * Get the display markup for values where this resource is the RDF object. * * Options: * * - viewName: Name of view script, or a view model. Default "common/linked-resources" * - page: The page number * - perPage: The number of resources per page * - resourceProperty: Compound identifier with the pattern: <resource_type>:<property_id> * - siteId: A site ID * * For resourceProperty, the <resource_type> can be items, item_sets, media. * The <property_id> should follow the pattern laid out in * AbstractResourceEntityAdapter::getSubjectValuesQueryBuilder(). If a * $resourceProperty isn't passed or is invalid, the default is all * properties for the current resource type. * * @param array $options * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:541
- public displayTitle($default = null, $lang = null): string|null Get the display title for this resource.$tVars['resources'][4]->displayTitle()
/** * Get the display title for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:607
- public displayDescription($default = null, $lang = null): string|null Get the display description for this resource.$tVars['resources'][4]->displayDescription()
/** * Get the display description for this resource. * * @param string|null $default * @param array|string|null $lang * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:650
- public displayResourceClassLabel($default = null): string|null Get the display resource class label for this resource.$tVars['resources'][4]->displayResourceClassLabel()
/** * Get the display resource class label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:682
- public displayResourceTemplateLabel($default = null): string|null Get the display resource template label for this resource.$tVars['resources'][4]->displayResourceTemplateLabel()
/** * Get the display resource template label for this resource. * * @param string|null $default * @return string|null */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:694
- public linkPretty($thumbnailType = 'square', $titleDefault = null, $action = null, ?array $attributes = null, $lang = null): string Get a "pretty" link to this resource containing a thumbnail and display title.$tVars['resources'][4]->linkPretty()
/** * Get a "pretty" link to this resource containing a thumbnail and * display title. * * @param string $thumbnailType Type of thumbnail to show * @param string|null $titleDefault See $default param for displayTitle() * @param string|null $action Action to link to (see link() and linkRaw()) * @param array $attributes HTML attributes, key and value * @param array|string|null $lang Language IETF tag * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:711
- public valueRepresentation(): array Get the representation of this resource as a value for linking from another r...$tVars['resources'][4]->valueRepresentation()
/** * Get the representation of this resource as a value for linking from * another resource. * * @return array */ Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:739
- public userIsAllowed($privilege): bool Authorize the current user.$tVars['resources'][4]->userIsAllowed()
/** * Authorize the current user. * * Requests access to the entity and to the corresponding adapter. If the * current user does not have access to the adapter, we can assume that it * does not have access to the entity. * * @param string $privilege * @return bool */ Inherited from Omeka\Api\Representation\AbstractEntityRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractEntityRepresentation.php:29
- public id(): string|int Get the unique resource identifier.$tVars['resources'][4]->id()
/** * Get the unique resource identifier. * * @return string|int */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:63
- public jsonSerialize(): array Compose the complete JSON-LD object.$tVars['resources'][4]->jsonSerialize()
/** * Compose the complete JSON-LD object. */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:71
- protected setId($id) Set the unique resource identifier.
/** * Set the unique resource identifier. * * @param $id */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:102
- protected setAdapter(Omeka\Api\Adapter\AdapterInterface $adapter) Set the corresponding adapter.
/** * Set the corresponding adapter. * * @param AdapterInterface $adapter */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:112
- protected getAdapter($resourceName = null): AdapterInterface Get the corresponding adapter or another adapter by resource name.
/** * Get the corresponding adapter or another adapter by resource name. * * @param null|string $resourceName * @return AdapterInterface */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:123
- public getReference(): ResourceReference Get a reference for this resource representation.$tVars['resources'][4]->getReference()
/** * Get a reference for this resource representation. * * @return ResourceReference */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:136
- public apiUrl(): string Get the URL to the represented resource in the API$tVars['resources'][4]->apiUrl()
/** * Get the URL to the represented resource in the API * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:146
- public url($action = null, $canonical = false): string Return the URL to this resource.$tVars['resources'][4]->url()
/** * Return the URL to this resource. * * Automatically detects whether to compose an admin URL or site URL * depending on the current route context. To compose URLs across contexts, * use {@link self::adminUrl()} or {@link self::siteUrl()} directly. * * @param string $action The route action for an admin URL; does * nothing for a site URL. * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:171
- public adminUrl($action = null, $canonical = false): string Return the admin URL to this resource.$tVars['resources'][4]->adminUrl()
/** * Return the admin URL to this resource. * * @param string $action The route action * @param bool $canonical Whether to return an absolute URL * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:191
- public link($text, $action = null, $attributes = array()): string Get an HTML link to a resource.$tVars['resources'][4]->link()
/** * Get an HTML link to a resource. * * @param string $text The text to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:227
- public linkRaw($html, $action = null, $attributes = array()): string Get an HTML link to a resource, with the link contents unescaped.$tVars['resources'][4]->linkRaw()
/** * Get an HTML link to a resource, with the link contents unescaped. * * This method allows for more complex HTML within a link, but * Users of this method must ensure any untrusted components of * their contents are already escaped or filtered as necessary. * * Link attributes are still auto-escaped by this method. * * @param string $html The HTML to be linked * @param string $action * @param array $attributes HTML attributes, key and value * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:247
- public getFileUrl($prefix, $name, $extension = null) Get a URL to a stored file.$tVars['resources'][4]->getFileUrl()
/** * Get a URL to a stored file. * * @param string $prefix The storage prefix * @param string $name The file name, or basename if extension is passed * @param null|string $extension The file extension */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:260
- public embeddedJsonLd(): string Get markup for embedding the JSON-LD representation of this resource in HTML.$tVars['resources'][4]->embeddedJsonLd()
/** * Get markup for embedding the JSON-LD representation of this resource in HTML. * * @return string */ Inherited from Omeka\Api\Representation\AbstractResourceRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractResourceRepresentation.php:285
- protected getDateTime(DateTime $dateTime): DateTime Get a JSON serializable instance of DateTime.
/** * Get a JSON serializable instance of DateTime. * * @param \DateTime $dateTime * @return DateTime */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:54
- protected getTranslator(): TranslatorInterface Get the translator service
/** * Get the translator service * * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:64
- protected getViewHelper($name): TranslatorInterface Get a view helper from the manager.
/** * Get a view helper from the manager. * * @param string $name * @return TranslatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:78
- public thumbnailDisplayUrl($type): string}null Get the calculated thumbnail display URL for this representation.$tVars['resources'][4]->thumbnailDisplayUrl()
/** * Get the calculated thumbnail display URL for this representation. * * @param string $type The type of thumbnail to retrieve from the primary media, * if any is defined * @return string}null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:114
- public thumbnailAltText(): string|null Get the alt text corresponding to this resource's thumbnail$tVars['resources'][4]->thumbnailAltText()
/** * Get the alt text corresponding to this resource's thumbnail * * @return string|null */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:140
- public thumbnailDisplayUrls(): array Get all calculated thumbnail display URLs, keyed by type.$tVars['resources'][4]->thumbnailDisplayUrls()
/** * Get all calculated thumbnail display URLs, keyed by type. * * @return array */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:156
- public getServiceLocator(): ServiceLocatorInterface Get the service locator.$tVars['resources'][4]->getServiceLocator()
/** * Get the service locator. * * @return ServiceLocatorInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:171
- public setServiceLocator(Laminas\ServiceManager\ServiceLocatorInterface $serviceLocator) Set the service locator.$tVars['resources'][4]->setServiceLocator()
/** * Set the service locator. * * @param ServiceLocatorInterface $serviceLocator */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/application/src/Api/Representation/AbstractRepresentation.php:181
- public setEventManager(Laminas\EventManager\EventManagerInterface $events) Set the event manager instance used by this context.$tVars['resources'][4]->setEventManager()
/** * Set the event manager instance used by this context. * * For convenience, this method will also set the class name / LSB name as * identifiers, in addition to any string or array of strings set to the * $this->eventIdentifier property. */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:36
- public getEventManager(): EventManagerInterface Retrieve the event manager$tVars['resources'][4]->getEventManager()
/** * Retrieve the event manager * * Lazy-loads an EventManager instance if none registered. * * @return EventManagerInterface */ Inherited from Omeka\Api\Representation\AbstractRepresentation Defined in <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManagerAwareTrait.php:65
- public getControllerName()
- 0 => Omeka\Api\Representation\ItemRepresentation#1162 (8)
- itemSet => Omeka\Api\Representation\ItemSetRepresentation#1151 (8)
- $propertyId integer 1739
Collection
Reliefs
5 Éléments
Et quia Montius inter dilancinantium manus spiritum efflaturus Epigonum et Eusebium nec professionem nec dignitatem ostendens aliquotiens increpabat, qui sint hi magna quaerebatur industria, et nequid intepesceret, Epigonus e Lycia philosophus ducitur et Eusebius ab Emissa Pittacas cognomento, concitatus orator, cum quaestor non hos sed tribunos fabricarum insimulasset promittentes armorum si novas res agitari conperissent.
Éléments 1–5 sur 5
-

Objet physique
-

Objet physique
-

Objet physique
-

Objet physique
-

Objet physique