void canBeViewedInline(
)
|
|
API Tags:
See: | GalleryDerivative::canBeViewedInline |
Redefinition of:
- GalleryDerivative::canBeViewedInline()
- Data items that can be viewed inline (photos, movies, etc) should return true. Items that can't be viewed inline (word documents, text, etc) should return false.
Create a new GalleryDerivativeImage
Parameters:
int |
$parentId: |
the id of the parent GalleryItem |
int |
$derivativeType: |
the type of derivative image |
API Tags:
Redefinition of:
- GalleryDerivative::create()
- Create a new GalleryDerivative
Rebuild the cache.
Break apart the derivative commands and feed them into the appropriate graphics toolkits to perform the transformation necessary to create this derivative from its source.
API Tags:
Redefinition of:
- GalleryDerivative::rebuildCache()
- Rebuild the cache. This should never be called directly; instead you should call GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent($derivativeId)
void render(
$format,
$item,
$params
)
|
|
Parameters:
API Tags:
See: | GalleryDerivative::render |
Redefinition of:
- GalleryDerivative::render()
- Render this item in the given format. For example, GalleryDerivativeImage may want to render as an <img> tag in the HTML format.
void setHeight(
$height
)
|
|
Parameters: