Class: TileTheme
Source Location: /themes/tile/theme.inc
Class TileTheme
Inherited Properties, Constants, and Methods
Methods
void getPageSize(
$params
)
|
|
Parameters:
API Tags:
| See: | GalleryTheme::getPageSize |
Redefinition of:
- GalleryTheme::getPageSize()
- Return the number of items per page, or 0 if there is no pagination in this theme.
void handleSettingsRequest(
$form, [
$itemId = null]
)
|
|
Parameters:
API Tags:
| See: | GalleryTheme::handleSettingsRequest |
Redefinition of:
- GalleryTheme::handleSettingsRequest()
- Let the theme handle the incoming request. Used for theme with advanced settings.
void isAdvancedSettings(
)
|
|
API Tags:
| See: | GalleryTheme::isAdvancedSettings |
Redefinition of:
- GalleryTheme::isAdvancedSettings()
- Return whether the theme uses simple or advanced settings. To support simple settings the theme needs to implement getSettings and validateSettings To support advanced settings the theme must implement loadSettingsTemplate and handleSettingsRequest.
void loadSettingsTemplate(
&$template,
&$form, [
$itemId = null]
)
|
|
Parameters:
|
|
&$template: |
|
|
|
&$form: |
|
|
|
$itemId: |
|
API Tags:
| See: | GalleryTheme::loadSettingsTemplate |
Redefinition of:
- GalleryTheme::loadSettingsTemplate()
- Load the template with data to define the theme settings. Used for theme with advanced settings.
void showAdminPage(
&$template,
$item,
$params,
$templateFile
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
|
|
$templateFile: |
|
API Tags:
| See: | GalleryTheme::showAdminPage |
Redefinition of:
- GalleryTheme::showAdminPage()
- Load all the necessary template data to render a page for an administrative (or other) view.
void showAlbumPage(
&$template,
$item,
$params,
$childIds, [
$showHead = true]
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
|
|
$childIds: |
|
|
|
$showHead: |
|
API Tags:
| See: | GalleryTheme::showAlbumPage |
Redefinition of:
- GalleryTheme::showAlbumPage()
- Load all the necessary template data to render a page for an album.
void showErrorPage(
&$template
)
|
|
Parameters:
API Tags:
| See: | GalleryTheme::showErrorPage |
Redefinition of:
- GalleryTheme::showErrorPage()
- Load all the necessary template data to render an error page.
void showModulePage(
&$template,
$item,
$params,
$templateFile
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
|
|
$templateFile: |
|
API Tags:
| See: | GalleryTheme::showModulePage |
Redefinition of:
- GalleryTheme::showModulePage()
- Load all the necessary template data to render a page for a module view (any views that aren't user, site, or item admin eg slideshow or members list).
void showPhotoPage(
&$template,
$item,
$params
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
API Tags:
| See: | GalleryTheme::showPhotoPage |
Redefinition of:
- GalleryTheme::showPhotoPage()
- Load all the necessary template data to render a page for a single item.
void showProgressBarPage(
&$template,
$item,
$params
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
API Tags:
| See: | GalleryTheme::showProgressBarPage |
Redefinition of:
- GalleryTheme::showProgressBarPage()
- Load all the necessary template data to render a progress bar page.
void _buildItemList(
$childIds,
&$children
)
|
|
Parameters:
void _setDefaultParameters(
&$params
)
|
|
Parameters:
|
|