|
CaMykS
1.0-20250801
|
Public Attributes | |
| $partsLoaded = false | |
| Are parts loaded. More... | |
| $parts = array() | |
| Are parts loaded. More... | |
| $responsiveStyles = array() | |
| Define responsiveness of theme. More... | |
| $touchIcons = array() | |
| Define available touch icons. More... | |
| $useEnhancedSelectInputs = false | |
| Set useEnhancedSelectInputs to default value. More... | |
Public Attributes inherited from Plugin | |
| $name | |
| Plugin name. More... | |
| $version | |
| Plugin version. More... | |
| $active = false | |
| Plugin installation status. More... | |
| $plugin_package = '' | |
| Plugin package. More... | |
| $plugin_type | |
| Plugin type. More... | |
| $object_type | |
| Plugin type. More... | |
| $plugin_path | |
| Plugin path. More... | |
| $plugin_site_path | |
| Plugin site path (for element overwriting). More... | |
| $plugin_var_path | |
| Plugin var path. More... | |
| $plugin_url | |
| Plugin URL. More... | |
| $plugin_site_url | |
| Plugin site URL (for element overwriting). More... | |
| $plugin_var_url | |
| Plugin var URL. More... | |
| $path_type | |
| Plugin path type. More... | |
| $author_name | |
| Plugin author name. More... | |
| $author_mail | |
| Plugin author email. More... | |
| $author_group | |
| Plugin author group. More... | |
| $plugin_dependencies = array() | |
| Plugin dependencies. More... | |
Private Attributes | |
| $autoBoxContent = 'Close' | |
| $isAdminResponsive = false | |
| Set isAdminResponsive to default value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Plugin | |
| set_redirect ($time, $url='') | |
| add_meta ($name, $content, $method='name') | |
| add_toHtaccess ($content='') | |
| add_dependency ($plugin, $type, $version='1.0', $mandatory=false) | |
| set_dependencies () | |
| register_asSharedObject ($name) | |
| & | get_sharedObject ($name) |
| register_asExtension ($plugin) | |
| get_registeredExtensions () | |
| register_asCaMykSEventHandler ($event) | |
Theme class.
| Theme::__construct | ( | $name, | |
| $path_type | |||
| ) |
Class constructor.
| string | $name | |
| string | $path_type |
| Theme::Theme | ( | $name, | |
| $path_type | |||
| ) |
| Theme::initialise | ( | ) |
Initialise theme object.
| Theme::initialise_adminMode | ( | ) |
Initialise theme object in admin mode.
| Theme::get_parts | ( | ) |
| Theme::get_included_parts | ( | ) |
load theme parts as included file
| Theme::get_main_css | ( | ) |
| Theme::get_included_main_css | ( | ) |
Send main CSS files to CaMykS as included files
| Theme::get_editor_css | ( | ) |
Send editor CSS file to CaMykS.
| Theme::get_editorCSSURL | ( | ) |
Return editor CSS file URL .
| Theme::get_part | ( | $part, | |
$data = array() |
|||
| ) |
Generic part display.
| string | $part | |
| array | $data |
| Theme::get_pictURL | ( | $item, | |
$size = 12, |
|||
$position = 'std' |
|||
| ) |
Return pict URL.
| string | $item | |
| integer | $size | |
| string | $position |
| Theme::get_pictURLWithName | ( | $pict | ) |
Return pict url from full file name.
| string | $pict |
| Theme::get_pictHTMLTag | ( | $params = array() | ) |
Return img full tag related to pict.
| array | $params |
| Theme::get_bar | ( | $params = '', |
|
$style = '' |
|||
| ) |
Alias to get_barComplete
| array | $params | |
| string | $style |
| Theme::get_barComplete | ( | $params = '', |
|
$style = '' |
|||
| ) |
Display full bar.
| array | $params | |
| string | $style |
| Theme::get_barLeft | ( | $params = '' | ) |
Display left part of the bar.
| array | $params |
| Theme::get_barRight | ( | ) |
Display right part of the bar
| Theme::get_barButton | ( | $params = '', |
|
$url = '', |
|||
$id = '', |
|||
$style = '' |
|||
| ) |
Display bar button item.
| mixed | $params | (string button title or whole button data struct array) |
| string | $url | |
| string | $id | |
| string | $style |
| Theme::get_barItem | ( | $params, | |
$id = '', |
|||
$style = '' |
|||
| ) |
Display bar item.
| mixed | $params | (string item title or whole item data struct array) |
| string | $id | |
| string | $style |
| Theme::get_boxHeader | ( | $params = '' | ) |
Display box header.
| mixed | $params | (string item style or whole item data struct array) |
| Theme::get_boxTitleBar | ( | $title = '' | ) |
| Theme::get_boxTabsBar | ( | $tabs, | |
| $params, | |||
$mover = '', |
|||
$mout = '', |
|||
$selected = '' |
|||
| ) |
Display box tabs bar.
| array | $tabs | |
| array | $params | |
| string | $mover | |
| string | $mout | |
| string | $selected |
Reimplemented in GreyStyle.
| Theme::get_boxButtonsBar | ( | $buttons = array() | ) |
| Theme::get_boxContent1Header | ( | $more = '' | ) |
| Theme::get_boxContent2Header | ( | $more = '' | ) |
| Theme::get_boxContent1Footer | ( | ) |
| Theme::get_boxContent2Footer | ( | ) |
| Theme::get_boxContentHeader | ( | $more = '' | ) |
Display box generic content header, alias to get_boxContent1Header().
| string | $more |
| Theme::get_boxContentFooter | ( | ) |
Display box generic content footer, alias to get_boxContent1Footer().
| Theme::get_boxFooter | ( | ) |
Display box footer.
| Theme::get_lightBoxHeader | ( | $style = '' | ) |
Display light box header.
| string | $style |
| Theme::get_lightBoxFooter | ( | ) |
Display light box footer.
| Theme::get_button | ( | $params, | |
$url = '', |
|||
$style = '' |
|||
| ) |
Display button.
| array | $params | |
| string | $url | |
| string | $style |
| Theme::get_layeredMenu | ( | $name, | |
| $objectname, | |||
| $content | |||
| ) |
Display layered menu.
| string | $name | |
| string | $objectname | |
| array | $content |
| Theme::get_layeredMenuHeader | ( | $name, | |
| $objectname | |||
| ) |
Display layered menu header.
| string | $name | |
| string | $objectname |
| Theme::get_layeredMenuSeparator | ( | ) |
Display layered menu separator.
| Theme::get_layeredMenuNoLinkItem | ( | $item = array() | ) |
Display layered menu item without link.
| array | $item |
| Theme::get_layeredMenuLinkItem | ( | $item = array() | ) |
Display layered menu item with link.
| array | $item |
| Theme::get_layeredMenuFooter | ( | ) |
Display layered menu footer.
| Theme::get_mainIcon | ( | ) |
Return main icon url from touch icons.
| boolean Theme::$partsLoaded = false |
Are parts loaded.
| array Theme::$parts = array() |
Are parts loaded.
| array Theme::$responsiveStyles = array() |
Define responsiveness of theme.
| array Theme::$touchIcons = array() |
Define available touch icons.
|
private |
| boolean Theme::$useEnhancedSelectInputs = false |
Set useEnhancedSelectInputs to default value.
|
private |
Set isAdminResponsive to default value.