SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class ImageGalleryWidget

Shows a list of pages that are related to this one

Variables

NameVisibilityDescription
$classname 
$crop_opts 
$default_settings 
$display_opts 
$friendly_desc 
$friendly_name 
$order_opts 

Functions

NameVisibilityDescription
contentReplacepublic (static)Registered content replacement for embedded gallery via the editor
getEditUrlpublicReturns a URL for editing the contents of this widget
getInfoLabelspublicReturns a label which describes the contents of this widget
getNotAvailableReasonpublicIs there sufficent content to add this addon at the moment?
getSettingsFormpublicReturns the settings HTML
orderSqlprivateReturns the SQL which should be used for ordering the images
renderpublicDoes the front-end rendering of this widget
validateSettingsprivateValidate and cleanup the settings fields

public contentReplace

string ImageGalleryWidget::contentReplace ( string $html );

Registered content replacement for embedded gallery via the editor

public getEditUrl

unknown $ImageGalleryWidget->getEditUrl ( );

Returns a URL for editing the contents of this widget
See Widget::getEditUrl for full documentation

public getInfoLabels

unknown $ImageGalleryWidget->getInfoLabels ( );

Returns a label which describes the contents of this widget
See Widget::get_info_label for full documentation

public getNotAvailableReason

unknown $ImageGalleryWidget->getNotAvailableReason ( );

Is there sufficent content to add this addon at the moment?
If this widget is not available, a string message should be returned
If this widget *is* available, NULL should be returned.

public getSettingsForm

unknown $ImageGalleryWidget->getSettingsForm ( );

Returns the settings HTML

private orderSql

unknown $ImageGalleryWidget->orderSql ( One $order );

Returns the SQL which should be used for ordering the images

public render

unknown $ImageGalleryWidget->render ( int $orientation );

Does the front-end rendering of this widget

private validateSettings

unknown $ImageGalleryWidget->validateSettings ( );

Validate and cleanup the settings fields