static void getShow(
$heading,
$speedctl,
$albumobj,
$imageobj,
$width,
$height,
$crop,
$shuffle,
$linkslides,
$controls,
$returnpath,
$imagenumber
)
|
|
Parameters:
|
$heading: |
|
|
$speedctl: |
|
|
$albumobj: |
|
|
$imageobj: |
|
|
$width: |
|
|
$height: |
|
|
$crop: |
|
|
$shuffle: |
|
|
$linkslides: |
|
|
$controls: |
|
|
$returnpath: |
|
|
$imagenumber: |
|
static type getSlideObj(
type
$slide, type
$albumobj
)
|
|
We might need this to exclude file types or not…
Parameters:
type |
$slide: |
|
type |
$albumobj: |
|
static void getSlideshowPlayer(
$album, [
$controls = false], [
$width = NULL], [
$height = NULL]
)
|
|
Parameters:
|
$album: |
|
|
$controls: |
|
|
$width: |
|
|
$height: |
|
static string; is_valid(
mixed
$image, array
$valid_types
)
|
|
TODO WE MIGHT NOT NEED THIS AS CYCLE2 MIGHT BE ABLE TO DISPLAY ANYTHING! Returns the file extension if the item passed is displayable by the player
Parameters:
mixed |
$image: |
either an image object or the filename of an image. |
array |
$valid_types: |
list of the types we will accept |
static void macro(
$macros
)
|
|
Parameters:
static void printSlide(
obj
$albumobj, obj
$imgobj, int
$width, int
$height, int
$cropw, int
$croph, bool
$linkslides, [bool
$crop = false], [bool
$carousel = false]
)
|
|
Helper function to print the individual slides
Parameters:
obj |
$albumobj: |
Album object |
obj |
$imgobj: |
Current slide obj |
int |
$width: |
Slide image width |
int |
$height: |
Slide image height |
int |
$cropw: |
Slide image crop width |
int |
$croph: |
Slide image crop height |
bool |
$linkslides: |
True or false if the slides should be linked to their image page. Note: In carousel mode this means full image links as here slides are always linked to the image page. |
bool |
$crop: |
True or false to crop the image |
bool |
$carousel: |
if the slideshow is a carousel so we can enable full image linking (only images allowed!) |
void getOptionsSupported(
)
|
|
void handleOption(
$option,
$currentValue
)
|
|
Parameters: