CaMykS
1.0-20231201
|
Public Member Functions | |
__construct ($path_type) | |
initialise ($name='sg') | |
set_themeValues ($theme='itunes') | |
set_URLsValues ($image, $thumb) | |
set_thumbValues ($width=80, $height=60, $count=6) | |
set_imageValues ($width=0, $height=0, $hasTitle=true, $hasDesc=true) | |
set_slidingValues ($method='page', $accel=1, $speed=30, $interval=25) | |
add_item ($id, $type, $thumb, $image, $title='', $desc='') | |
Public Member Functions inherited from Input | |
__construct ($name, $path_type) | |
Input ($name, $path_type) | |
display () | |
get_translation ($value, $data=null) | |
set_selectedLayout ($layout='') | |
Public Member Functions inherited from Plugin | |
__construct ($name, $plugin_type, $path_type) | |
get_version () | |
load_library ($library='') | |
load_file ($file='') | |
load_varFile ($file='') | |
load_engineFile ($file='') | |
get_engineFileURL ($file='', $path=false) | |
get_fileURL ($file='', $path=null, $default='') | |
get_varFileURL ($file='', $path=false, $default='') | |
get_filePath ($file='') | |
get_varFilePath ($file='') | |
add_JSFile ($file) | |
add_JSEngineFile ($file) | |
add_JSExternFile ($file) | |
add_JSScript ($script, $unique=false) | |
add_JSPreScript ($script, $unique=false) | |
add_JSWindowEventScript ($event, $script, $unique=false) | |
add_JSLoadScript ($script, $unique=false) | |
add_JSUnloadScript ($script, $unique=false) | |
add_styleFile ($file, $media='', $condition='') | |
add_styleScript ($css) | |
add_styleIncludedFile ($file) | |
add_StyleExternFile ($file, $media='', $condition='') | |
set_RSSFeed ($title, $url) | |
add_headerExtra ($content='') | |
install () | |
uninstall () | |
is_installed () | |
update ($version, $more='') | |
add_translation ($more='', $lg=null) | |
get_languages () | |
execute_onCaMykSInitialise () | |
execute_onCaMykSPageLoad () | |
execute_onCaMykSBodyOpen () | |
execute_onCaMykSBodyClose () | |
execute_onCaMykSAdminPageLoad () | |
execute_onCaMykSAdminBodyOpen () | |
execute_onCaMykSAdminBodyClose () | |
execute_onCaMykSTerminate () | |
get_requestLink ($params=array()) | |
get_requestJSLink ($params=array()) | |
execute_request () | |
get_varFile ($file) | |
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) | |
SmartGallery Input class.
SmartGallery::__construct | ( | $path_type | ) |
Class constructor.
sting | $path_type |
SmartGallery::initialise | ( | $name = 'sg' | ) |
SmartGallery::set_themeValues | ( | $theme = 'itunes' | ) |
Set theme value.
string | $theme |
SmartGallery::set_URLsValues | ( | $image, | |
$thumb | |||
) |
Set images urls.
string | $image | |
string | $thumb |
SmartGallery::set_thumbValues | ( | $width = 80 , |
|
$height = 60 , |
|||
$count = 6 |
|||
) |
Set thumb images info.
int | $width | |
int | $height | |
int | $count |
SmartGallery::set_imageValues | ( | $width = 0 , |
|
$height = 0 , |
|||
$hasTitle = true , |
|||
$hasDesc = true |
|||
) |
Set main images info.
int | $width | |
int | $height | |
bool | $hasTitle | |
bool | $hasDesc |
SmartGallery::set_slidingValues | ( | $method = 'page' , |
|
$accel = 1 , |
|||
$speed = 30 , |
|||
$interval = 25 |
|||
) |
Set sliding config.
string | $method | |
int | $accel | |
int | $speed | |
int | $interval |
SmartGallery::add_item | ( | $id, | |
$type, | |||
$thumb, | |||
$image, | |||
$title = '' , |
|||
$desc = '' |
|||
) |
insert a new item in item list
mixed | $id | |
string | $type | |
string | $thumb | |
string | $image | |
string | $title | |
string | $desc |
string SmartGallery::$name |
Instance name.
string SmartGallery::$theme = 'itunes' |
Instance theme.
array SmartGallery::$items = array() |
Item list.
boolean SmartGallery::$sliding = false |
Is sliding enabled.