Web Speedy API


$WS

Basic Web Speedy pre-instantiated object
You can use this tu access to all the funtions
See the template for more informations
Example:

PreHeaderTemplateSlot()

Insert the pre-header in the maaster template


Example:

BodyTempaleSlot()

Insert the body in the maaster template


Example:


FooterTemplateSlot()

Insert the footer in the maaster template


Example:
MenuBar($SlotID,$Vertical=false)

Insert an orizzontal menu-bar in the template

$SlotID=Unique identifier of the slot in a page
$Vertical=Draw the a vertical menĂ¹ if true

Example:

ImageTitle($SlotID,$Width="30px",$Height="30px")

Insert an image slot in the templates
This slot is equal for all the pages

$SlotID=Unique identifier of the slot in a page
$Width=Image width
$Height=Image height

Example:

TextTitle($SlotID)

Insert a text slot in the templates
This slot is equal for all the pages

$SlotID=Unique identifier of the slot in a page

Example:

ImageSlot($SlotID,$Width="30px",$Height="30px",$RowOffset=0)

Insert an image slot in the templates
$SlotID=Unique identifier of the slot in a page

$Width=Image width
$Height=Image height
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:

TextSlot($SlotID,$RowOffset)

Insert a text slot in the templates

$SlotID=Unique identifier of the slot in a page
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:

PayPalSlot($SlotID,$RowOffset=0,$ItemNum=0,$ItemName="",$Currency="EUR",$Import="0.00", $Shipping="0.00",$Testing="0",$PayPalAccount="")

Insert a PayPal payament object in the templates

$SlotID=Unique identifier of the slot in a page
$RowOffset=Pager multi-row offset of more information see the Pager object
$ItemNum=Number of the article (configurable at run time)
$ItemName=Name of the article (configurable at run time)
$Currency=Currency of price (configurable at run time)
$Import=Import to pay (configurable at run time)
$Shipping=Is the shipping / discount (configurable at run time)
$Testing=if equal to 1 call the pay pal testing page (configurable at run time)
$PayPalAccount=PayPal email account of receiver (configurable at run time)

Example:

ImageSliderSlot($SlotID,$Width="100px",$Height="100px",$Mode,$RowOffset=0)

Insert an image slider object in the templates
You can select from 2 to 5 images to repeat in the slot

$SlotID=Unique identifier of the slot in a page
$Width=Image width
$Height=Image height
$Shade=(bool) Enable/disble image shadein / shadeout
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:

TextSliderSlot($SlotID,$Width="100px",$Height="100px",$Mode,$RowOffset=0)

Insert an text slider object in the templates
You can select from 2 to 5 texts to repeat in the slot

$SlotID=Unique identifier of the slot in a page
$Width=Image width
$Height=Image height
$Shade=(bool) Enable/disble image shadein / shadeout
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:

public function PluginSlot($SlotID,$Width="800px",$Height="")

Allow to select a PHP plugin
See the plugin session for more information

$SlotID=Unique identifier of the slot in a page
$Width=Image width
$Height=Image height

Example:

SlotIsSet($SlotID,$RowOffset)

Check if the slot is set
You can use this function to hide some part of page

$SlotID=Unique identifier of the slot in a page
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:
SlotIsSet("text_12",0,"
My Html
");@?>

Pager($RowStep)

Is the pager
If you insert this object in a page, automatically, the page run in 'multi page mode'
You can insert infinity pages and switch trow then with the cursor
With this component you can easy trasform your page in a small book or in a shop.

$RowStep=The number of page to switch

Example:

PagerSearch($Width)

Is the pager search bar
In multi page mode this bar allow you the search trow the pages

$Width=Bar width

Example:

InputSlot($SlotID,$InputGroup,$Width)

Insert an input slot in the templates

$SlotID=Unique identifier of the slot in a page
$InputGroup=Is a string that identify the group of input to send with the button
$Width=the width of field in pixel

Example:

InputAreaSlot($SlotID,$InputGroup,$Width,$Height)

Insert a input area (multi-line) slot in the templates

$SlotID=Unique identifier of the slot in a page
$InputGroup=Is a string that identify the group of input to send with the button
$Width=the width of field in pixel
$Height=the height of field in pixel

Example:

SaverEmailSlot($SlotID,$InputGroup)

Insert a button in the templates
When you press the button, the content of all the input slots
is sent to the configured email address

$SlotID=Unique identifier of the slot in a page
$InputGroup=Is a string that identify the group of input to send with the button

Example:

MapSlot($SlotID,$Width="100px",$Height="100px",$Latitude="",$Longitude="",$RowOffset=0)

Insert a Google map object in the templates

$SlotID=Unique identifier of the slot in a page
$Width=the width of field in pixel
$Height=the height of field in pixel
$Latitude=Preset latitude
$Latitude=Preset logitude
$RowOffset=Pager multi-row offset of more information see the Pager object

Example:

BackgroundSetSlotButton($SlotID)

Background configuration activation button

$SlotID=Unique identifier of the slot in a page

Example:

BackgroundSlot($SlotID)

Background application object

$SlotID=Unique identifier of the slot in a page

Example:
>hello!