Class: ClassicTheme
Source Location: /themes/classic/theme.inc
Class ClassicTheme
Inherited Properties, Constants, and Methods
Methods
ClassicTheme ClassicTheme(
)
|
|
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 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)
GalleryStatus _buildTree(
$childIds,
&$treeList,
&$treeItems,
$maxDepth,
$subalbumSort,
$userId
)
|
|
Build template data for subalbum tree
Parameters:
|
|
$childIds: |
|
|
|
&$treeList: |
|
|
|
&$treeItems: |
|
|
|
$maxDepth: |
|
|
|
$subalbumSort: |
|
|
|
$userId: |
|
API Tags:
| Return: | a status code |
| Access: | private |
GalleryStatus _doBuildTree(
$album,
$branchId,
&$treeList,
&$treeItems,
$maxDepth,
$userId,
$depth
)
|
|
Helper function for _buildTree
Parameters:
|
|
$album: |
|
|
|
$branchId: |
|
|
|
&$treeList: |
|
|
|
&$treeItems: |
|
|
|
$maxDepth: |
|
|
|
$userId: |
|
|
|
$depth: |
|
API Tags:
| Return: | a status code |
| Access: | private |
void _parseTree(
$tree,
&$treeList,
&$treeIds, [
$depth = 1]
)
|
|
Helper function for _buildTree
Parameters:
|
|
$tree: |
|
|
|
&$treeList: |
|
|
|
&$treeIds: |
|
|
|
$depth: |
|
API Tags:
|
|