$this->params()->fromFiles() array (0)
$this->params()->fromHeader() array (5)
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']
$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']
$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 1
$this->params()->fromRoute()['item-set-id']
$this->params()->getView() Laminas\View\Renderer\PhpRenderer#228 (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#230 (3)
    • Properties (3)
    • Methods (7)
    • Class constants (2)
    • Iterator (6)
    • protected lastLookupFailure -> boolean false
      protected lastSuccessfulResolver -> Laminas\View\Resolver\TemplatePathStack#235 (6)
      • Properties (6)
      • Methods (15)
      • Static methods (1)
      • Class constants (2)
      • protected defaultSuffix -> string (5) "phtml"
        protected paths -> Laminas\Stdlib\SplStack#236 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#231 (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#239 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#233 Depth Limit
        1 => Laminas\View\Resolver\TemplatePathStack#235 Depth Limit
        2 => Laminas\View\Resolver\PrefixPathStackResolver#238 Depth Limit
        3 => Laminas\View\Resolver\RelativeFallbackResolver#240 Depth Limit
        4 => Laminas\View\Resolver\RelativeFallbackResolver#241 Depth Limit
        5 => Laminas\View\Resolver\RelativeFallbackResolver#242 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#233 (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#235 (6)
      • Properties (6)
      • Methods (15)
      • Static methods (1)
      • Class constants (2)
      • protected defaultSuffix -> string (5) "phtml"
        protected paths -> Laminas\Stdlib\SplStack#236 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#238 (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#240 (1)
      • Properties (1)
      • Methods (2)
      • Class constants (1)
      • private resolver -> Laminas\View\Resolver\TemplateMapResolver#233 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#241 (1)
      • Properties (1)
      • Methods (2)
      • Class constants (1)
      • private resolver -> Laminas\View\Resolver\TemplatePathStack#235 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#242 (1)
      • Properties (1)
      • Methods (2)
      • Class constants (1)
      • private resolver -> Laminas\View\Resolver\PrefixPathStackResolver#238 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 offsetSet(mixed $key, mixed $value)
      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 exchangeArray(object|array $array)
      public setIteratorClass(string $iteratorClass)
      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 1
        protected resource -> Omeka\Entity\ItemSet#806 Depth Limit
        protected adapter -> Omeka\Api\Adapter\ItemSetAdapter#730 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#743 (8)
      • Properties (8)
      • Methods (52)
      • protected translator -> null
        protected viewHelperManager -> null
        protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
        protected events -> Laminas\EventManager\EventManager#745 Depth Limit
        protected id -> integer 1
        protected resource -> Omeka\Entity\Site#1059 Depth Limit
        protected adapter -> Omeka\Api\Adapter\SiteAdapter#736 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 (24)
      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
      5 => Omeka\Api\Representation\ItemRepresentation#1172 Depth Limit
      6 => Omeka\Api\Representation\ItemRepresentation#1153 Depth Limit
      7 => Omeka\Api\Representation\ItemRepresentation#1164 Depth Limit
      8 => Omeka\Api\Representation\ItemRepresentation#1155 Depth Limit
      9 => Omeka\Api\Representation\ItemRepresentation#1242 Depth Limit
      10 => Omeka\Api\Representation\ItemRepresentation#1190 Depth Limit
      11 => Omeka\Api\Representation\ItemRepresentation#1678 Depth Limit
      12 => Omeka\Api\Representation\ItemRepresentation#1680 Depth Limit
      13 => Omeka\Api\Representation\ItemRepresentation#1677 Depth Limit
      14 => Omeka\Api\Representation\ItemRepresentation#1670 Depth Limit
      15 => Omeka\Api\Representation\ItemRepresentation#1674 Depth Limit
      16 => Omeka\Api\Representation\ItemRepresentation#1667 Depth Limit
      17 => Omeka\Api\Representation\ItemRepresentation#1663 Depth Limit
      18 => Omeka\Api\Representation\ItemRepresentation#1660 Depth Limit
      19 => Omeka\Api\Representation\ItemRepresentation#1657 Depth Limit
      20 => Omeka\Api\Representation\ItemRepresentation#1682 Depth Limit
      21 => Omeka\Api\Representation\ItemRepresentation#1685 Depth Limit
      22 => Omeka\Api\Representation\ItemRepresentation#1688 Depth Limit
      23 => Omeka\Api\Representation\ItemRepresentation#1691 Depth Limit
      3 => array (24)
      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
      5 => Omeka\Api\Representation\ItemRepresentation#1172 Depth Limit
      6 => Omeka\Api\Representation\ItemRepresentation#1153 Depth Limit
      7 => Omeka\Api\Representation\ItemRepresentation#1164 Depth Limit
      8 => Omeka\Api\Representation\ItemRepresentation#1155 Depth Limit
      9 => Omeka\Api\Representation\ItemRepresentation#1242 Depth Limit
      10 => Omeka\Api\Representation\ItemRepresentation#1190 Depth Limit
      11 => Omeka\Api\Representation\ItemRepresentation#1678 Depth Limit
      12 => Omeka\Api\Representation\ItemRepresentation#1680 Depth Limit
      13 => Omeka\Api\Representation\ItemRepresentation#1677 Depth Limit
      14 => Omeka\Api\Representation\ItemRepresentation#1670 Depth Limit
      15 => Omeka\Api\Representation\ItemRepresentation#1674 Depth Limit
      16 => Omeka\Api\Representation\ItemRepresentation#1667 Depth Limit
      17 => Omeka\Api\Representation\ItemRepresentation#1663 Depth Limit
      18 => Omeka\Api\Representation\ItemRepresentation#1660 Depth Limit
      19 => Omeka\Api\Representation\ItemRepresentation#1657 Depth Limit
      20 => Omeka\Api\Representation\ItemRepresentation#1682 Depth Limit
      21 => Omeka\Api\Representation\ItemRepresentation#1685 Depth Limit
      22 => Omeka\Api\Representation\ItemRepresentation#1688 Depth Limit
      23 => Omeka\Api\Representation\ItemRepresentation#1691 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 offsetSet(mixed $key, mixed $value)
      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 exchangeArray(object|array $array)
      public setIteratorClass(string $iteratorClass)
      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
Called from <ROOT>/themes/papyrus/view/omeka/site/item/browse.phtml:14 [d()]
  1. <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:519
  2. <ROOT>/vendor/laminas/laminas-view/src/View.php:194 [Laminas\View\Renderer\PhpRenderer->render()]
  3. <ROOT>/vendor/laminas/laminas-view/src/View.php:222 [Laminas\View\View->render()]
  4. <ROOT>/vendor/laminas/laminas-view/src/View.php:187 [Laminas\View\View->renderChildren()]
  5. <ROOT>/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:98 [Laminas\View\View->render()]
  6. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:319 [Laminas\Mvc\View\Http\DefaultRenderingStrategy->render()]
  7. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:171 [Laminas\EventManager\EventManager->triggerListeners()]
  8. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:360 [Laminas\EventManager\EventManager->triggerEvent()]
  9. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:341 [Laminas\Mvc\Application->completeRequest()]
  10. <ROOT>/index.php:21 [Laminas\Mvc\Application->run()]
$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 1
    protected resource -> Omeka\Entity\ItemSet#806 (13)
    • Properties (13)
    • Methods (25)
    • protected id -> integer 1
      protected owner -> DoctrineProxies\__CG__\Omeka\Entity\User#888 Depth Limit
      protected resourceClass -> DoctrineProxies\__CG__\Omeka\Entity\ResourceClass#897 Depth Limit
      protected resourceTemplate -> null
      protected thumbnail -> DoctrineProxies\__CG__\Omeka\Entity\Asset#907 Depth Limit
      protected title -> string (10) "Permanente"
      protected isPublic -> boolean true
      protected created -> DateTime#747 Depth Limit
      protected modified -> DateTime#811 Depth Limit
      protected values -> Doctrine\ORM\PersistentCollection#942 Depth Limit
      protected isOpen -> boolean true
      protected items -> Doctrine\ORM\PersistentCollection#958 Depth Limit
      protected siteItemSets -> Doctrine\ORM\PersistentCollection#980 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#730 (7)
    • Properties (7)
    • Methods (55)
    • protected translator -> null
      protected serviceLocator -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
      protected events -> Laminas\EventManager\EventManager#731 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
site => Omeka\Api\Representation\SiteRepresentation#743 (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#745 (4)
    • Properties (4)
    • Methods (15)
    • protected events -> array (0)
      protected eventPrototype -> Laminas\EventManager\Event#739 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#1059 (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#1045 Depth Limit
      protected navigation -> array (6) Depth Limit
      protected homepage -> DoctrineProxies\__CG__\Omeka\Entity\SitePage#1050 Depth Limit
      protected itemPool -> array (0)
      protected owner -> DoctrineProxies\__CG__\Omeka\Entity\User#888 Depth Limit
      protected created -> DateTime#989 Depth Limit
      protected modified -> DateTime#1054 Depth Limit
      protected isPublic -> boolean true
      protected assignNewItems -> boolean false
      protected pages -> Doctrine\ORM\PersistentCollection#1047 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#736 (6)
    • Properties (6)
    • Methods (50)
    • protected translator -> null
      protected serviceLocator -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
      protected events -> Laminas\EventManager\EventManager#722 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
items => array (24)
$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 758
    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
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 165
    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
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 281
    protected resource -> Omeka\Entity\Item#1366 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
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 303
    protected resource -> Omeka\Entity\Item#1379 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
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 232
    protected resource -> Omeka\Entity\Item#1392 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
5 => Omeka\Api\Representation\ItemRepresentation#1172 (8)
$tVars['items'][5]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1184 Depth Limit
    protected id -> integer 169
    protected resource -> Omeka\Entity\Item#1405 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][5]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][5]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][5]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][5]->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'][5]->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'][5]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][5]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][5]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][5]->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'][5]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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
6 => Omeka\Api\Representation\ItemRepresentation#1153 (8)
$tVars['items'][6]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1181 Depth Limit
    protected id -> integer 179
    protected resource -> Omeka\Entity\Item#1418 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][6]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][6]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][6]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][6]->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'][6]->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'][6]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][6]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][6]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][6]->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'][6]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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
7 => Omeka\Api\Representation\ItemRepresentation#1164 (8)
$tVars['items'][7]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1180 Depth Limit
    protected id -> integer 189
    protected resource -> Omeka\Entity\Item#1431 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][7]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][7]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][7]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][7]->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'][7]->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'][7]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][7]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][7]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][7]->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'][7]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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
8 => Omeka\Api\Representation\ItemRepresentation#1155 (8)
$tVars['items'][8]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1156 Depth Limit
    protected id -> integer 258
    protected resource -> Omeka\Entity\Item#1444 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][8]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][8]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][8]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][8]->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'][8]->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'][8]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][8]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][8]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][8]->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'][8]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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
9 => Omeka\Api\Representation\ItemRepresentation#1242 (8)
$tVars['items'][9]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1243 Depth Limit
    protected id -> integer 301
    protected resource -> Omeka\Entity\Item#1457 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][9]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][9]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][9]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][9]->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'][9]->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'][9]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][9]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][9]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][9]->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'][9]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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
10 => Omeka\Api\Representation\ItemRepresentation#1190 (8)
$tVars['items'][10]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1249 Depth Limit
    protected id -> integer 177
    protected resource -> Omeka\Entity\Item#1470 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][10]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][10]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][10]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][10]->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'][10]->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'][10]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][10]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][10]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][10]->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'][10]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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
11 => Omeka\Api\Representation\ItemRepresentation#1678 (8)
$tVars['items'][11]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1672 Depth Limit
    protected id -> integer 181
    protected resource -> Omeka\Entity\Item#1483 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][11]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][11]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][11]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][11]->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'][11]->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'][11]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][11]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][11]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][11]->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'][11]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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
12 => Omeka\Api\Representation\ItemRepresentation#1680 (8)
$tVars['items'][12]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1654 Depth Limit
    protected id -> integer 185
    protected resource -> Omeka\Entity\Item#1496 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][12]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][12]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][12]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][12]->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'][12]->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'][12]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][12]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][12]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][12]->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'][12]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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
13 => Omeka\Api\Representation\ItemRepresentation#1677 (8)
$tVars['items'][13]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1676 Depth Limit
    protected id -> integer 191
    protected resource -> Omeka\Entity\Item#1509 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][13]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][13]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][13]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][13]->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'][13]->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'][13]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][13]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][13]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][13]->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'][13]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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
14 => Omeka\Api\Representation\ItemRepresentation#1670 (8)
$tVars['items'][14]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1675 Depth Limit
    protected id -> integer 193
    protected resource -> Omeka\Entity\Item#1522 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][14]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][14]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][14]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][14]->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'][14]->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'][14]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][14]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][14]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][14]->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'][14]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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
15 => Omeka\Api\Representation\ItemRepresentation#1674 (8)
$tVars['items'][15]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1671 Depth Limit
    protected id -> integer 187
    protected resource -> Omeka\Entity\Item#1535 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][15]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][15]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][15]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][15]->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'][15]->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'][15]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][15]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][15]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][15]->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'][15]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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
16 => Omeka\Api\Representation\ItemRepresentation#1667 (8)
$tVars['items'][16]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1661 Depth Limit
    protected id -> integer 173
    protected resource -> Omeka\Entity\Item#1548 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][16]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][16]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][16]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][16]->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'][16]->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'][16]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][16]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][16]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][16]->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'][16]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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
17 => Omeka\Api\Representation\ItemRepresentation#1663 (8)
$tVars['items'][17]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1666 Depth Limit
    protected id -> integer 183
    protected resource -> Omeka\Entity\Item#1561 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][17]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][17]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][17]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][17]->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'][17]->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'][17]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][17]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][17]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][17]->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'][17]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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
18 => Omeka\Api\Representation\ItemRepresentation#1660 (8)
$tVars['items'][18]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1659 Depth Limit
    protected id -> integer 209
    protected resource -> Omeka\Entity\Item#1574 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][18]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][18]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][18]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][18]->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'][18]->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'][18]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][18]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][18]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][18]->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'][18]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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
19 => Omeka\Api\Representation\ItemRepresentation#1657 (8)
$tVars['items'][19]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1656 Depth Limit
    protected id -> integer 299
    protected resource -> Omeka\Entity\Item#1587 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][19]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][19]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][19]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][19]->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'][19]->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'][19]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][19]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][19]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][19]->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'][19]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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
20 => Omeka\Api\Representation\ItemRepresentation#1682 (8)
$tVars['items'][20]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1683 Depth Limit
    protected id -> integer 171
    protected resource -> Omeka\Entity\Item#1600 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][20]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][20]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][20]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][20]->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'][20]->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'][20]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][20]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][20]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][20]->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'][20]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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
21 => Omeka\Api\Representation\ItemRepresentation#1685 (8)
$tVars['items'][21]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1686 Depth Limit
    protected id -> integer 175
    protected resource -> Omeka\Entity\Item#1613 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][21]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][21]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][21]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][21]->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'][21]->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'][21]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][21]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][21]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][21]->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'][21]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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
22 => Omeka\Api\Representation\ItemRepresentation#1688 (8)
$tVars['items'][22]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1689 Depth Limit
    protected id -> integer 167
    protected resource -> Omeka\Entity\Item#1626 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][22]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][22]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][22]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][22]->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'][22]->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'][22]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][22]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][22]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][22]->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'][22]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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
23 => Omeka\Api\Representation\ItemRepresentation#1691 (8)
$tVars['items'][23]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1692 Depth Limit
    protected id -> integer 1453
    protected resource -> Omeka\Entity\Item#1639 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['items'][23]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['items'][23]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['items'][23]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['items'][23]->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'][23]->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'][23]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['items'][23]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['items'][23]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['items'][23]->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'][23]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['items'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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
resources => array (24)
$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 758
    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
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 165
    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
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 281
    protected resource -> Omeka\Entity\Item#1366 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
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 303
    protected resource -> Omeka\Entity\Item#1379 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
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 232
    protected resource -> Omeka\Entity\Item#1392 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
5 => Omeka\Api\Representation\ItemRepresentation#1172 (8)
$tVars['resources'][5]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1184 Depth Limit
    protected id -> integer 169
    protected resource -> Omeka\Entity\Item#1405 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][5]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][5]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][5]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][5]->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'][5]->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'][5]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][5]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][5]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][5]->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'][5]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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'][5]->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
6 => Omeka\Api\Representation\ItemRepresentation#1153 (8)
$tVars['resources'][6]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1181 Depth Limit
    protected id -> integer 179
    protected resource -> Omeka\Entity\Item#1418 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][6]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][6]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][6]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][6]->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'][6]->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'][6]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][6]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][6]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][6]->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'][6]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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'][6]->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
7 => Omeka\Api\Representation\ItemRepresentation#1164 (8)
$tVars['resources'][7]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1180 Depth Limit
    protected id -> integer 189
    protected resource -> Omeka\Entity\Item#1431 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][7]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][7]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][7]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][7]->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'][7]->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'][7]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][7]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][7]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][7]->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'][7]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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'][7]->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
8 => Omeka\Api\Representation\ItemRepresentation#1155 (8)
$tVars['resources'][8]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1156 Depth Limit
    protected id -> integer 258
    protected resource -> Omeka\Entity\Item#1444 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][8]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][8]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][8]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][8]->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'][8]->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'][8]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][8]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][8]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][8]->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'][8]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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'][8]->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
9 => Omeka\Api\Representation\ItemRepresentation#1242 (8)
$tVars['resources'][9]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1243 Depth Limit
    protected id -> integer 301
    protected resource -> Omeka\Entity\Item#1457 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][9]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][9]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][9]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][9]->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'][9]->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'][9]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][9]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][9]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][9]->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'][9]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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'][9]->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
10 => Omeka\Api\Representation\ItemRepresentation#1190 (8)
$tVars['resources'][10]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1249 Depth Limit
    protected id -> integer 177
    protected resource -> Omeka\Entity\Item#1470 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][10]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][10]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][10]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][10]->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'][10]->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'][10]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][10]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][10]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][10]->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'][10]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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'][10]->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
11 => Omeka\Api\Representation\ItemRepresentation#1678 (8)
$tVars['resources'][11]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1672 Depth Limit
    protected id -> integer 181
    protected resource -> Omeka\Entity\Item#1483 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][11]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][11]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][11]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][11]->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'][11]->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'][11]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][11]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][11]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][11]->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'][11]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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'][11]->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
12 => Omeka\Api\Representation\ItemRepresentation#1680 (8)
$tVars['resources'][12]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1654 Depth Limit
    protected id -> integer 185
    protected resource -> Omeka\Entity\Item#1496 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][12]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][12]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][12]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][12]->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'][12]->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'][12]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][12]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][12]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][12]->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'][12]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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'][12]->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
13 => Omeka\Api\Representation\ItemRepresentation#1677 (8)
$tVars['resources'][13]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1676 Depth Limit
    protected id -> integer 191
    protected resource -> Omeka\Entity\Item#1509 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][13]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][13]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][13]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][13]->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'][13]->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'][13]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][13]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][13]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][13]->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'][13]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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'][13]->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
14 => Omeka\Api\Representation\ItemRepresentation#1670 (8)
$tVars['resources'][14]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1675 Depth Limit
    protected id -> integer 193
    protected resource -> Omeka\Entity\Item#1522 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][14]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][14]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][14]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][14]->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'][14]->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'][14]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][14]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][14]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][14]->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'][14]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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'][14]->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
15 => Omeka\Api\Representation\ItemRepresentation#1674 (8)
$tVars['resources'][15]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1671 Depth Limit
    protected id -> integer 187
    protected resource -> Omeka\Entity\Item#1535 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][15]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][15]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][15]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][15]->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'][15]->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'][15]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][15]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][15]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][15]->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'][15]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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'][15]->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
16 => Omeka\Api\Representation\ItemRepresentation#1667 (8)
$tVars['resources'][16]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1661 Depth Limit
    protected id -> integer 173
    protected resource -> Omeka\Entity\Item#1548 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][16]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][16]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][16]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][16]->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'][16]->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'][16]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][16]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][16]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][16]->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'][16]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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'][16]->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
17 => Omeka\Api\Representation\ItemRepresentation#1663 (8)
$tVars['resources'][17]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1666 Depth Limit
    protected id -> integer 183
    protected resource -> Omeka\Entity\Item#1561 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][17]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][17]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][17]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][17]->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'][17]->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'][17]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][17]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][17]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][17]->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'][17]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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'][17]->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
18 => Omeka\Api\Representation\ItemRepresentation#1660 (8)
$tVars['resources'][18]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1659 Depth Limit
    protected id -> integer 209
    protected resource -> Omeka\Entity\Item#1574 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][18]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][18]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][18]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][18]->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'][18]->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'][18]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][18]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][18]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][18]->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'][18]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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'][18]->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
19 => Omeka\Api\Representation\ItemRepresentation#1657 (8)
$tVars['resources'][19]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1656 Depth Limit
    protected id -> integer 299
    protected resource -> Omeka\Entity\Item#1587 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][19]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][19]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][19]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][19]->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'][19]->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'][19]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][19]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][19]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][19]->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'][19]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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'][19]->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
20 => Omeka\Api\Representation\ItemRepresentation#1682 (8)
$tVars['resources'][20]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1683 Depth Limit
    protected id -> integer 171
    protected resource -> Omeka\Entity\Item#1600 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][20]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][20]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][20]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][20]->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'][20]->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'][20]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][20]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][20]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][20]->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'][20]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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'][20]->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
21 => Omeka\Api\Representation\ItemRepresentation#1685 (8)
$tVars['resources'][21]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1686 Depth Limit
    protected id -> integer 175
    protected resource -> Omeka\Entity\Item#1613 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][21]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][21]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][21]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][21]->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'][21]->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'][21]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][21]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][21]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][21]->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'][21]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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'][21]->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
22 => Omeka\Api\Representation\ItemRepresentation#1688 (8)
$tVars['resources'][22]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1689 Depth Limit
    protected id -> integer 167
    protected resource -> Omeka\Entity\Item#1626 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][22]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][22]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][22]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][22]->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'][22]->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'][22]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][22]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][22]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][22]->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'][22]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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'][22]->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
23 => Omeka\Api\Representation\ItemRepresentation#1691 (8)
$tVars['resources'][23]
  • Properties (8)
  • Methods (59)
  • protected translator -> null
    protected viewHelperManager -> null
    protected services -> Laminas\ServiceManager\ServiceManager#11 Blacklisted
    protected events -> Laminas\EventManager\EventManager#1692 Depth Limit
    protected id -> integer 1453
    protected resource -> Omeka\Entity\Item#1639 Depth Limit
    protected adapter -> Omeka\Api\Adapter\ItemAdapter#1150 Depth Limit
    protected values -> null
  • public getControllerName()
    $tVars['resources'][23]->getControllerName()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:6
    public getResourceJsonLdType()
    $tVars['resources'][23]->getResourceJsonLdType()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:11
    public getResourceJsonLd()
    $tVars['resources'][23]->getResourceJsonLd()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:16
    public media(): MediaRepresentation[] Get the media associated with this item.
    $tVars['resources'][23]->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'][23]->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'][23]->sites()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:73
    public primaryMedia()
    $tVars['resources'][23]->primaryMedia()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:84
    public siteUrl($siteSlug = null, $canonical = false)
    $tVars['resources'][23]->siteUrl()
    Defined in <ROOT>/application/src/Api/Representation/ItemRepresentation.php:105
    public sitePages($siteId)
    $tVars['resources'][23]->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'][23]->getJsonLdType()
    Inherited from Omeka\Api\Representation\AbstractResourceEntityRepresentation
    Defined in <ROOT>/application/src/Api/Representation/AbstractResourceEntityRepresentation.php:55
    public getJsonLd()
    $tVars['resources'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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'][23]->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
Called from <ROOT>/themes/papyrus/view/omeka/site/item/browse.phtml:17 [d()]
  1. <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:519
  2. <ROOT>/vendor/laminas/laminas-view/src/View.php:194 [Laminas\View\Renderer\PhpRenderer->render()]
  3. <ROOT>/vendor/laminas/laminas-view/src/View.php:222 [Laminas\View\View->render()]
  4. <ROOT>/vendor/laminas/laminas-view/src/View.php:187 [Laminas\View\View->renderChildren()]
  5. <ROOT>/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:98 [Laminas\View\View->render()]
  6. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:319 [Laminas\Mvc\View\Http\DefaultRenderingStrategy->render()]
  7. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:171 [Laminas\EventManager\EventManager->triggerListeners()]
  8. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:360 [Laminas\EventManager\EventManager->triggerEvent()]
  9. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:341 [Laminas\Mvc\Application->completeRequest()]
  10. <ROOT>/index.php:21 [Laminas\Mvc\Application->run()]
$propertyId integer 1739
Called from <ROOT>/themes/papyrus/view/omeka/site/item/browse.phtml:84 [d()]
  1. <ROOT>/vendor/laminas/laminas-view/src/Renderer/PhpRenderer.php:519
  2. <ROOT>/vendor/laminas/laminas-view/src/View.php:194 [Laminas\View\Renderer\PhpRenderer->render()]
  3. <ROOT>/vendor/laminas/laminas-view/src/View.php:222 [Laminas\View\View->render()]
  4. <ROOT>/vendor/laminas/laminas-view/src/View.php:187 [Laminas\View\View->renderChildren()]
  5. <ROOT>/vendor/laminas/laminas-mvc/src/View/Http/DefaultRenderingStrategy.php:98 [Laminas\View\View->render()]
  6. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:319 [Laminas\Mvc\View\Http\DefaultRenderingStrategy->render()]
  7. <ROOT>/vendor/laminas/laminas-eventmanager/src/EventManager.php:171 [Laminas\EventManager\EventManager->triggerListeners()]
  8. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:360 [Laminas\EventManager\EventManager->triggerEvent()]
  9. <ROOT>/vendor/laminas/laminas-mvc/src/Application.php:341 [Laminas\Mvc\Application->completeRequest()]
  10. <ROOT>/index.php:21 [Laminas\Mvc\Application->run()]

Collection

Permanente

916 Éléments

Nemo quaeso miretur, si post exsudatos labores itinerum longos congestosque adfatim commeatus fiducia vestri ductante barbaricos pagos adventans velut mutato repente consilio ad placidiora deverti.

Éléments 1–24 sur 916