Class: CarbonTheme
Source Location: /themes/carbon/theme.inc
Class CarbonTheme
Inherited Properties, Constants, and Methods
Methods
CarbonTheme CarbonTheme(
)
|
|
void getSettings(
[
$itemId = null]
)
|
|
Parameters:
API Tags:
| See: | GalleryTheme::getSettings |
Redefinition of:
- GalleryTheme::getSettings()
- Return the possible settings that a theme can specify on a global or per item basis. Used for theme with simple settings (@see isAdvancedSettings)
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
)
|
|
Parameters:
|
|
&$template: |
|
|
|
$item: |
|
|
|
$params: |
|
|
|
$childIds: |
|
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 upgrade(
$currentVersion
)
|
|
Parameters:
API Tags:
| See: | GalleryPlugin::upgrade |
Redefinition of:
- GalleryPlugin::upgrade()
- Perform any upgrade tasks required at this point. This method is called
void validateSettings(
$settings
)
|
|
Parameters:
API Tags:
| See: | GalleryTheme::validateSettings |
Redefinition of:
- GalleryTheme::validateSettings()
- Check the values of the settings for legality. If there are errors, return an array of localized error messages to display for each invalid setting. Used for theme with simple settings (@see isAdvancedSettings)
|
|