Can this renderer display the given item?
Parameters:
API Tags:
Return: | true if this data item can be viewed inline |
Redefined in descendants as:
Render the given GalleryItem in the given output format. For example, you can render a GalleryPhotoItem with an <img> tag in the HTML format, whereas GalleryMovieItem would use <object> or <embed>.
This method takes an entity to render, and the item which has its metadata. In some cases, these will be the same thing (like when rendering the original of a GalleryPhotoItem). In other cases, it will be different, like when you're rendering a resize. In that case, the entity would be a GalleryDerivative and the item would be the GalleryPhotoItem.
Parameters:
string |
$format: |
the format (eg. "HTML") |
GalleryEntity |
$entity: |
the entity to render |
GalleryItem |
$item: |
the parent item |
array |
$params: |
format specific key value pairs |
API Tags:
Redefined in descendants as: