org.silex.core.Constants

org.silex.core.Constants

This class is used to store all silex constants default values which may be overriden by getDynData function or by values passed to FLash in index.php with SetVariable.  So, to change these default data you can use : FlashVars (javascript or html), conf/silex.ini, the url GET method (silex.swf?var=value&).  Use _global.getSilex().config to access these constants from SILEX commands, accessors or from ActionScript (in the components or layouts or tools).  In the repository : /trunk/core/Constants.as

Version

1

Author

Alexandre Hoyau

Summary
org.silex.core.ConstantsThis class is used to store all silex constants default values which may be overriden by getDynData function or by values passed to FLash in index.php with SetVariable.
hard coded constants
LOADER_STAGE_HALF_SIZE_XLoader stage width.
LOADER_STAGE_HALF_SIZE_YLoader stage height.
scale mode names
SCALE_MODE_PIXELscale mode name, case insensitive
SCALE_MODE_SCROLLscale mode name, case insensitive
SCALE_MODE_NO_SCALEscale mode name, case insensitive
SCALE_MODE_SHOW_ALLscale mode name, case insensitive
anim names
ANIM_NAME_PRELOADPreload animation name in the layout files.
ANIM_NAME_SHOWShow animation name in the layout files.
ANIM_NAME_CLOSEClose animation name in the layout files.
ANIM_NAME_TRANSITIONTransition animation name in the layout files.
ANIM_NAME_TRANSITION_CLOSETransition close animation name in the layout files.
media properties types in the properties tool box.Constants used to select editors in properties class.
PROPERTIES_TYPE_BOOLEAN
PROPERTIES_TYPE_NUMBER
PROPERTIES_TYPE_TEXT
PROPERTIES_TYPE_RICHTEXT
PROPERTIES_TYPE_COLOR
PROPERTIES_TYPE_COMMAND
PROPERTIES_TYPE_URL
PROPERTIES_TYPE_ARRAY
PROPERTIES_TYPE_ARRAY_ARRAY
event names
UI_PLAYERS_EVENT_PRESS
UI_PLAYERS_EVENT_RELEASE
UI_PLAYERS_EVENT_ROLLOVER
UI_PLAYERS_EVENT_ROLLOUT
UI_PLAYERS_EVENT_MOUSEMOVE
UI_PLAYERS_EVENT_ONLOAD
UI_PLAYERS_EVENT_LOAD_START
UI_PLAYERS_EVENT_LOAD_ERROR
UI_PLAYERS_EVENT_LOAD_PROGRESS
UI_PLAYERS_EVENT_LOAD_COMPLETE
UI_PLAYERS_EVENT_LOAD_INIT
UI_PLAYERS_EVENT_UNLOAD
UI_PLAYERS_EVENT_DEEPLINK
UI_PLAYERS_EVENT_XMLLOADED
UI_PLAYERS_EVENT_CONTENT_SHOW
UI_PLAYERS_EVENT_CONTENT_HIDE
UI_PLAYERS_EVENT_CHILD_SHOW
UI_PLAYERS_EVENT_CHILD_HIDE
UI_PLAYERS_EVENT_CONTENT_HIDE_START
UI_PLAYERS_EVENT_CHANGED
UI_PLAYERS_EVENT_KILLFOCUS
UI_PLAYERS_EVENT_SETFOCUS
UI_PLAYERS_EVENT_SCROLLER
UI_PLAYERS_EVENT_STATUS
UI_PLAYERS_EVENT_METADATA
UI_PLAYERS_EVENT_BUFFER_EMPTY
UI_PLAYERS_EVENT_BUFFER_FULL
UI_PLAYERS_EVENT_NOSTREAM
UI_PLAYERS_EVENT_PLAY
UI_PLAYERS_EVENT_PAUSE
UI_PLAYERS_EVENT_STOP
UI_PLAYERS_EVENT_START
UI_PLAYERS_EVENT_END
UI_PLAYERS_EVENT_SOUND_COMPLETE
UI_PLAYERS_EVENT_SOUND_PLAY
UI_PLAYERS_EVENT_SOUND_PAUSE
UI_PLAYERS_EVENT_SOUND_STOP
UI_PLAYERS_EVENT_SOUND_ID3
UI_PLAYERS_EVENT_SOUND_LOADED
setter/getter constants
_mouseTrue if mouse pointer is visible and false otherwise.
mouse
mouse
globalContextWhen you change this value, the website switches to another context, e.g.
AVAILABLE_CONTEXT_LISTThe available context list.
admin language constants
toolsConfigFileNameTools configuration file.
toolsLanguageConfigFileNameTools language file.
languageConfigFileNameSilex language file.
adminLanguageLanguage for the admon mode / editing / WYSIWYG.
languageWebsite language.
AVAILABLE_LANGUAGE_LISTThe available language list.
DEFAULT_LANGUAGEDefault language used by language auto detection if the language code of the browser is not in AVAILABLE_LANGUAGE_LIST.
config constants
versionSILEX version Read from SCRIPT_LATEST_SILEX_VERSION through a call to silex.core.Com::getLatestSilexVersion.
server config, read in silex.ini
PHP_SESSION_WAKE_UP_INTERVALinterval time for the timer used to keep php session active in milliseconds
ALLOW_LOGINAllow access to SILEX WYSIWYG (allow context menu which leads to authentication process + cookie).
CONFIG_START_SECTIONName of first page of the website.
CONFIG_WEBSITE_CONF_FILEName of the configuration file for the website.
FLASH_PLAYER_FOLDERName of the folder which will contain the layer skin folder.
flashPlayerVersionFlash player version used for a given website.
ENABLE_DEEPLINKINGTrue if the website uses deeplinking.
path on the server
initialToolsFolderPathTools folder path on the server.
initialFtpFolderPathMedia folder path on the server.
initialContentFolderPathContents folder path on the server.
installPathInstall folder path on the server.
layoutFolderPathLayouts folder path on the server.
screen saver
screenSaverDelayNumber of seconds of inactivity before the screen saver activation commands are executed.
screenSaverActivateCommandsCommands to be executed after inactivity was detected, i.e.
screenSaverDeactivateCommandsCommands to be executed in screen saver mode after activiity is detected, i.e.
XRAY_URLURL of xray online debugging console.
SHARED_OBJECT_NAME
initialLayoutFileFirst page will be opened in this layout.
layoutStageWidthStage width for a given website.
layoutStageHeightStage height for a given website.
scaleModescaleMode for a given website.
googleAnaliticsAccountNumberid given by google when you create your free google analytics account.
phpmyvisitesSiteNumberNumber given by phpMyVisites when you create a new website Ycan set this value in the website tool box.
phpmyvisitesURL
layerSkinUrlLayer skin used for a given website.
bgColorBackground color for a given website.
toolsFolderRelativePathTools sub-folder to be concidered as the root for the tools for a given website, starting from the tools/ folder of the server.
websiteFtpRelativeUrlMedia sub-folder to be concidered as the root for the library tool box for a given website, starting from the media/ folder of the server.
commonAlertDurationDefault duration of a “alertSimple” message.
minimumAlertDurationMinimum duration of a “alertSimple” message.
web services
gatewayRelativePathPath of the amfPhp gateway on the server.
DataExchangeServiceNameName of the data exchange service of silex.
FtpServiceNameName of the ftp service name of silex.
php scriptsvar SCRIPT_UPLOAD:String=”cgi/scripts/upload.php”; var SCRIPT_DELETE:String=”cgi/scripts/delete.php”;
SCRIPT_LOGPath of the log script.
SCRIPT_DOWNLOADPath of the download script.
SCRIPT_LATEST_SILEX_VERSIONURL of the script used to retrieve SILEX latest stable version.
accessors constants
sepcharWord separator character in page names.
accessorsSepcharVariables separator character for accessors.
accessorsLeftTagLeft separator for the accessors.
accessorsLeftTagHtml
accessorsRightTagRight separator for the accessors.
accessorsRightTagHtml
filterSeparatorSeparator for the filters in accessors default value is space char : <<filtername accessorname>>
sequencer constants
SEQUENCER_STATE_PLAY
SEQUENCER_STATE_PAUSE
SEQUENCER_STATE_STOP
debug
DEBUG_LEVEL_ERROR
DEBUG_LEVEL_WARNING
DEBUG_LEVEL_DEBUG
constants for file properties
itemTypeField
itemSizeField
itemNameField
itemModifDateField
itemWidthField
itemHeightField
itemContentField
characters for strings cleaning function
UTF8_LOWER_ACCENTSUTF-8 lookup table for lower case accented letters This lookuptable defines replacements for accented characters from the ASCII-7 range.
UTF8_UPPER_ACCENTS

hard coded constants

LOADER_STAGE_HALF_SIZE_X

var LOADER_STAGE_HALF_SIZE_X: Number

Loader stage width.  Corresponds to the white rectangle in fla/loader.fla in SILEX source code.

LOADER_STAGE_HALF_SIZE_Y

var LOADER_STAGE_HALF_SIZE_Y: Number

Loader stage height.  Corresponds to the white rectangle in fla/loader.fla in SILEX source code.

scale mode names

SCALE_MODE_PIXEL

public static var SCALE_MODE_PIXEL: String

scale mode name, case insensitive

SCALE_MODE_SCROLL

public static var SCALE_MODE_SCROLL: String

scale mode name, case insensitive

SCALE_MODE_NO_SCALE

public static var SCALE_MODE_NO_SCALE: String

scale mode name, case insensitive

SCALE_MODE_SHOW_ALL

public static var SCALE_MODE_SHOW_ALL: String

scale mode name, case insensitive

anim names

ANIM_NAME_PRELOAD

var ANIM_NAME_PRELOAD: String

Preload animation name in the layout files.  Name of the screens in the layout files.  For example, in layouts/minimal.fla you have the screens on the left, under application main screen.  This animation is played before any content is loaded (either text or medias) and after the transition of the parent page.

ANIM_NAME_SHOW

var ANIM_NAME_SHOW: String

Show animation name in the layout files.  Name of the screens in the layout files.  For example, in layouts/minimal.fla you have the screens on the left, under application main screen.  This animation is played once the content is loaded (at least the text) and after the preload anim is over.

ANIM_NAME_CLOSE

var ANIM_NAME_CLOSE: String

Close animation name in the layout files.  Name of the screens in the layout files.  For example, in layouts/minimal.fla you have the screens on the left, under application main screen.  This animation is played when the current page is closing before the parent “transition close” anim is started and after the current page “transition close” anim is over (only if a child page was open).

ANIM_NAME_TRANSITION

var ANIM_NAME_TRANSITION: String

Transition animation name in the layout files.  Name of the screens in the layout files.  For example, in layouts/minimal.fla you have the screens on the left, under application main screen.  This animation is played when a page is opened in the current layout and only after the show anim is over.

ANIM_NAME_TRANSITION_CLOSE

var ANIM_NAME_TRANSITION_CLOSE: String

Transition close animation name in the layout files.  Name of the screens in the layout files.  For example, in layouts/minimal.fla you have the screens on the left, under application main screen.  This animation is played when the current layout has a child page opened in and this child page is closed.

media properties types in the properties tool box.

Constants used to select editors in properties class.

PROPERTIES_TYPE_BOOLEAN

var PROPERTIES_TYPE_BOOLEAN: String

PROPERTIES_TYPE_NUMBER

var PROPERTIES_TYPE_NUMBER: String

PROPERTIES_TYPE_TEXT

var PROPERTIES_TYPE_TEXT: String

PROPERTIES_TYPE_RICHTEXT

var PROPERTIES_TYPE_RICHTEXT: String

PROPERTIES_TYPE_COLOR

var PROPERTIES_TYPE_COLOR: String

PROPERTIES_TYPE_COMMAND

var PROPERTIES_TYPE_COMMAND: String

PROPERTIES_TYPE_URL

var PROPERTIES_TYPE_URL: String

PROPERTIES_TYPE_ARRAY

var PROPERTIES_TYPE_ARRAY: String

PROPERTIES_TYPE_ARRAY_ARRAY

var PROPERTIES_TYPE_ARRAY_ARRAY: String

event names

UI_PLAYERS_EVENT_PRESS

var UI_PLAYERS_EVENT_PRESS

UI_PLAYERS_EVENT_RELEASE

var UI_PLAYERS_EVENT_RELEASE

UI_PLAYERS_EVENT_ROLLOVER

var UI_PLAYERS_EVENT_ROLLOVER

UI_PLAYERS_EVENT_ROLLOUT

var UI_PLAYERS_EVENT_ROLLOUT

UI_PLAYERS_EVENT_MOUSEMOVE

var UI_PLAYERS_EVENT_MOUSEMOVE

UI_PLAYERS_EVENT_ONLOAD

var UI_PLAYERS_EVENT_ONLOAD

UI_PLAYERS_EVENT_LOAD_START

var UI_PLAYERS_EVENT_LOAD_START

UI_PLAYERS_EVENT_LOAD_ERROR

var UI_PLAYERS_EVENT_LOAD_ERROR

UI_PLAYERS_EVENT_LOAD_PROGRESS

var UI_PLAYERS_EVENT_LOAD_PROGRESS

UI_PLAYERS_EVENT_LOAD_COMPLETE

var UI_PLAYERS_EVENT_LOAD_COMPLETE

UI_PLAYERS_EVENT_LOAD_INIT

var UI_PLAYERS_EVENT_LOAD_INIT

UI_PLAYERS_EVENT_UNLOAD

var UI_PLAYERS_EVENT_UNLOAD

UI_PLAYERS_EVENT_DEEPLINK

var UI_PLAYERS_EVENT_DEEPLINK

UI_PLAYERS_EVENT_XMLLOADED

var UI_PLAYERS_EVENT_XMLLOADED

UI_PLAYERS_EVENT_CONTENT_SHOW

var UI_PLAYERS_EVENT_CONTENT_SHOW

UI_PLAYERS_EVENT_CONTENT_HIDE

var UI_PLAYERS_EVENT_CONTENT_HIDE

UI_PLAYERS_EVENT_CHILD_SHOW

var UI_PLAYERS_EVENT_CHILD_SHOW

UI_PLAYERS_EVENT_CHILD_HIDE

var UI_PLAYERS_EVENT_CHILD_HIDE

UI_PLAYERS_EVENT_CONTENT_HIDE_START

var UI_PLAYERS_EVENT_CONTENT_HIDE_START

UI_PLAYERS_EVENT_CHANGED

var UI_PLAYERS_EVENT_CHANGED

UI_PLAYERS_EVENT_KILLFOCUS

var UI_PLAYERS_EVENT_KILLFOCUS

UI_PLAYERS_EVENT_SETFOCUS

var UI_PLAYERS_EVENT_SETFOCUS

UI_PLAYERS_EVENT_SCROLLER

var UI_PLAYERS_EVENT_SCROLLER

UI_PLAYERS_EVENT_STATUS

var UI_PLAYERS_EVENT_STATUS

UI_PLAYERS_EVENT_METADATA

var UI_PLAYERS_EVENT_METADATA

UI_PLAYERS_EVENT_BUFFER_EMPTY

var UI_PLAYERS_EVENT_BUFFER_EMPTY

UI_PLAYERS_EVENT_BUFFER_FULL

var UI_PLAYERS_EVENT_BUFFER_FULL

UI_PLAYERS_EVENT_NOSTREAM

var UI_PLAYERS_EVENT_NOSTREAM

UI_PLAYERS_EVENT_PLAY

var UI_PLAYERS_EVENT_PLAY

UI_PLAYERS_EVENT_PAUSE

var UI_PLAYERS_EVENT_PAUSE

UI_PLAYERS_EVENT_STOP

var UI_PLAYERS_EVENT_STOP

UI_PLAYERS_EVENT_START

var UI_PLAYERS_EVENT_START

UI_PLAYERS_EVENT_END

var UI_PLAYERS_EVENT_END

UI_PLAYERS_EVENT_SOUND_COMPLETE

var UI_PLAYERS_EVENT_SOUND_COMPLETE

UI_PLAYERS_EVENT_SOUND_PLAY

var UI_PLAYERS_EVENT_SOUND_PLAY

UI_PLAYERS_EVENT_SOUND_PAUSE

var UI_PLAYERS_EVENT_SOUND_PAUSE

UI_PLAYERS_EVENT_SOUND_STOP

var UI_PLAYERS_EVENT_SOUND_STOP

UI_PLAYERS_EVENT_SOUND_ID3

var UI_PLAYERS_EVENT_SOUND_ID3

UI_PLAYERS_EVENT_SOUND_LOADED

var UI_PLAYERS_EVENT_SOUND_LOADED

setter/getter constants

_mouse

var _mouse: Boolean

True if mouse pointer is visible and false otherwise.  Very useful for touch screens.  May be true or false and String or Boolean.  You may change this for one specific website at runtime: use a command to change the value of silex.config.mouse . You can change the default value for all websites on a server: in conf/silex.ini, mouse parameter.  @default true @example onRelease silex.config.mouse=false

mouse

function set mouse(showOrHide)

mouse

function get mouse():Boolean

globalContext

var globalContext: String

When you change this value, the website switches to another context, e.g. fr, en, nl, highBandWidth, lowBandWidth... any value that you want to use in the medias context

AVAILABLE_CONTEXT_LIST

var AVAILABLE_CONTEXT_LIST: String

The available context list.  Use this if you do a multilingual website.  This value can be changed in the website tool box.

admin language constants

toolsConfigFileName

var toolsConfigFileName: String

Tools configuration file.  This file is loaded only when user enter the admin mode / editing / WYSIWYG.

toolsLanguageConfigFileName

var toolsLanguageConfigFileName: String

Tools language file.  This file is loaded only when user enter the admin mode / editing / WYSIWYG.

languageConfigFileName

var languageConfigFileName: String

Silex language file.  This file is loaded at start of SILEX, before the website is opened.  It is loaded with the first call to silex.core.Com::getDynData.

See Also

silex.core.Com

adminLanguage

var adminLanguage: String

Language for the admon mode / editing / WYSIWYG.  The value is set to the browser language code if this code is in _root.SILEX_ADMIN_AVAILABLE_LANGUAGES (in the flashvars or in the URL).  @default en

language

var language: String

Website language.  Stores the language code for the website’s current language.  @default en

AVAILABLE_LANGUAGE_LIST

var AVAILABLE_LANGUAGE_LIST: String

The available language list.  If a context in this list is the same as the language of the browser, then it is added to “globalContext” and set in “language” at start.  Use this if you need browser language auto detection.

DEFAULT_LANGUAGE

var DEFAULT_LANGUAGE

Default language used by language auto detection if the language code of the browser is not in AVAILABLE_LANGUAGE_LIST.  This value should be in AVAILABLE_LANGUAGE_LIST.  Change this value in the website tool box.

config constants

  • replaced by values read in config files (see config_files_list in index.php)
  • use _global.getSilex().config to access these variables

version

var version: String

SILEX version Read from SCRIPT_LATEST_SILEX_VERSION through a call to silex.core.Com::getLatestSilexVersion.

See Also

silex.core.Com

server config, read in silex.ini

PHP_SESSION_WAKE_UP_INTERVAL

var PHP_SESSION_WAKE_UP_INTERVAL: Number

interval time for the timer used to keep php session active in milliseconds

ALLOW_LOGIN

var ALLOW_LOGIN: String

Allow access to SILEX WYSIWYG (allow context menu which leads to authentication process + cookie).  Change this value in conf/silex.ini.  Boolean: true or false.  @default true

CONFIG_START_SECTION

var CONFIG_START_SECTION: String

Name of first page of the website.  Change this value in the website tool box.  @default start

CONFIG_WEBSITE_CONF_FILE

var CONFIG_WEBSITE_CONF_FILE: String

Name of the configuration file for the website.  This is a constant.  This is where the values of the website tool box are stored - in contents/<<id_site>>/<<CONFIG_WEBSITE_CONF_FILE>>.  @default conf.txt

FLASH_PLAYER_FOLDER

var FLASH_PLAYER_FOLDER: String

Name of the folder which will contain the layer skin folder.  This is a constant.  Change this value for all websites in conf/silex_server.ini.  @default fp<<silex.config.flashPlayerVersion>>/

flashPlayerVersion

var flashPlayerVersion: String

Flash player version used for a given website.  Change this value in the website tool box.  @default 7

ENABLE_DEEPLINKING

var ENABLE_DEEPLINKING: String

True if the website uses deeplinking.  Change this value in index.php or in conf/silex.ini.  @default true

path on the server

initialToolsFolderPath

var initialToolsFolderPath: String

Tools folder path on the server.  @default tools/

initialFtpFolderPath

var initialFtpFolderPath: String

Media folder path on the server.  @default media/

initialContentFolderPath

var initialContentFolderPath: String

Contents folder path on the server.  @default contents/

installPath

var installPath: String

Install folder path on the server.  @default install/

layoutFolderPath

var layoutFolderPath: String

Layouts folder path on the server.  @default layouts/

screen saver

screenSaverDelay

var screenSaverDelay: Number

Number of seconds of inactivity before the screen saver activation commands are executed.

screenSaverActivateCommands

var screenSaverActivateCommands: String

Commands to be executed after inactivity was detected, i.e. when the screen saver activates.  Commands have to be separated by a pipe: “|”.  @example alertSimple(“enter the screen saver mode”)|open:screen saver page

screenSaverDeactivateCommands

var screenSaverDeactivateCommands: String

Commands to be executed in screen saver mode after activiity is detected, i.e. when the the mouse moved and screen saver deactivates.  Commands have to be separated by a pipe: “|”.  @example alertSimple(“exits the screen saver mode”)|open:home page

XRAY_URL

var XRAY_URL: String

URL of xray online debugging console.  Used by the xray button in the view menu.

SHARED_OBJECT_NAME

var SHARED_OBJECT_NAME: String

initialLayoutFile

var initialLayoutFile: String

First page will be opened in this layout.

layoutStageWidth

var layoutStageWidth: String

Stage width for a given website.  This is the area which is allways visible in showAll mode.

See Also

scaleMode

layoutStageHeight

var layoutStageHeight: String

Stage height for a given website.  This is the area which is allways visible in showAll mode.

See Also

scaleMode

scaleMode

var scaleMode: String

scaleMode for a given website.  A string which determines how the website is scaled depending on the browser window size.

See Also

//livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002694.html (http:)

googleAnaliticsAccountNumber

var googleAnaliticsAccountNumber: String

id given by google when you create your free google analytics account.  You can set this value in the website tool box.  Use this to have statistics on your website, the pages and visitors.

See Also

//www.google.com/analytics/ (http:)

phpmyvisitesSiteNumber

var phpmyvisitesSiteNumber: String

Number given by phpMyVisites when you create a new website Ycan set this value in the website tool box.  Use this to have statistics on your website, the pages and visitors.

See Also

//www.phpmyvisites.us/ (http:)

phpmyvisitesURL

var phpmyvisitesURL: String

layerSkinUrl

var layerSkinUrl: String

Layer skin used for a given website.  It contains all fonts and skins for the players (audio / video / image).  @default ui/layer_skin1.swf

bgColor

var bgColor: String

Background color for a given website.  @default FFFFFF

toolsFolderRelativePath

var toolsFolderRelativePath: String

Tools sub-folder to be concidered as the root for the tools for a given website, starting from the tools/ folder of the server.  Use this if you want to have different tools sets available on different websites.

websiteFtpRelativeUrl

var websiteFtpRelativeUrl: String

Media sub-folder to be concidered as the root for the library tool box for a given website, starting from the media/ folder of the server.  Use this if you want to have different media sets available on different websites.

commonAlertDuration

var commonAlertDuration: Number

Default duration of a “alertSimple” message.

See Also

command (silex.core.interpreter::alertSimple)

minimumAlertDuration

var minimumAlertDuration: Number

Minimum duration of a “alertSimple” message.

See Also

command (silex.core.interpreter::alertSimple)

web services

gatewayRelativePath

var gatewayRelativePath: String

Path of the amfPhp gateway on the server.

DataExchangeServiceName

var DataExchangeServiceName: String

Name of the data exchange service of silex.

FtpServiceName

var FtpServiceName: String

Name of the ftp service name of silex.

php scripts

var SCRIPT_UPLOAD:String=”cgi/scripts/upload.php”; var SCRIPT_DELETE:String=”cgi/scripts/delete.php”;

SCRIPT_LOG

var SCRIPT_LOG: String

Path of the log script.

See Also

command (silex.core.interpreter::log)

SCRIPT_DOWNLOAD

var SCRIPT_DOWNLOAD: String

Path of the download script.

See Also

command (silex.core.interpreter::download)

SCRIPT_LATEST_SILEX_VERSION

var SCRIPT_LATEST_SILEX_VERSION: String

URL of the script used to retrieve SILEX latest stable version.

See Also

silex.core.Com::getLatestSilexVersion

accessors constants

sepchar

var sepchar: String

Word separator character in page names.  Change this value in conf/silex.ini.  @example a letter @example a digit @example _ @example - @example . @default _

accessorsSepchar

var accessorsSepchar: String

Variables separator character for accessors.  Change this value in conf/silex.ini.  @example / @example \ @example & @example @ @example _ @example - @example . @default .

accessorsLeftTag

var accessorsLeftTag: String

Left separator for the accessors.

accessorsLeftTagHtml

var accessorsLeftTagHtml: String
Left separator for the accessorshtml encoded.

accessorsRightTag

var accessorsRightTag: String

Right separator for the accessors.

accessorsRightTagHtml

var accessorsRightTagHtml: String
Right separator for the accessorshtml encoded.

filterSeparator

var filterSeparator: String

Separator for the filters in accessors default value is space char : <<filtername accessorname>>

sequencer constants

SEQUENCER_STATE_PLAY

var SEQUENCER_STATE_PLAY: String

SEQUENCER_STATE_PAUSE

var SEQUENCER_STATE_PAUSE: String

SEQUENCER_STATE_STOP

var SEQUENCER_STATE_STOP: String

debug

DEBUG_LEVEL_ERROR

var DEBUG_LEVEL_ERROR: String

DEBUG_LEVEL_WARNING

var DEBUG_LEVEL_WARNING: String

DEBUG_LEVEL_DEBUG

var DEBUG_LEVEL_DEBUG: String

constants for file properties

itemTypeField

var itemTypeField

itemSizeField

var itemSizeField

itemNameField

var itemNameField

itemModifDateField

var itemModifDateField

itemWidthField

var itemWidthField

itemHeightField

var itemHeightField

itemContentField

var itemContentField

characters for strings cleaning function

UTF8_LOWER_ACCENTS

var UTF8_LOWER_ACCENTS: Array

UTF-8 lookup table for lower case accented letters This lookuptable defines replacements for accented characters from the ASCII-7 range.  This are lower case letters only.  From dokuwiki inc/utf8.php.

UTF8_UPPER_ACCENTS

var UTF8_UPPER_ACCENTS: Array
This class is used to store all silex constants default values which may be overriden by getDynData function or by values passed to FLash in index.php with SetVariable.
var LOADER_STAGE_HALF_SIZE_X: Number
Loader stage width.
var LOADER_STAGE_HALF_SIZE_Y: Number
Loader stage height.
public static var SCALE_MODE_PIXEL: String
scale mode name, case insensitive
public static var SCALE_MODE_SCROLL: String
scale mode name, case insensitive
public static var SCALE_MODE_NO_SCALE: String
scale mode name, case insensitive
public static var SCALE_MODE_SHOW_ALL: String
scale mode name, case insensitive
var ANIM_NAME_PRELOAD: String
Preload animation name in the layout files.
var ANIM_NAME_SHOW: String
Show animation name in the layout files.
var ANIM_NAME_CLOSE: String
Close animation name in the layout files.
var ANIM_NAME_TRANSITION: String
Transition animation name in the layout files.
var ANIM_NAME_TRANSITION_CLOSE: String
Transition close animation name in the layout files.
var PROPERTIES_TYPE_BOOLEAN: String
var PROPERTIES_TYPE_NUMBER: String
var PROPERTIES_TYPE_TEXT: String
var PROPERTIES_TYPE_RICHTEXT: String
var PROPERTIES_TYPE_COLOR: String
var PROPERTIES_TYPE_COMMAND: String
var PROPERTIES_TYPE_URL: String
var PROPERTIES_TYPE_ARRAY: String
var PROPERTIES_TYPE_ARRAY_ARRAY: String
var UI_PLAYERS_EVENT_PRESS
var UI_PLAYERS_EVENT_RELEASE
var UI_PLAYERS_EVENT_ROLLOVER
var UI_PLAYERS_EVENT_ROLLOUT
var UI_PLAYERS_EVENT_MOUSEMOVE
var UI_PLAYERS_EVENT_ONLOAD
var UI_PLAYERS_EVENT_LOAD_START
var UI_PLAYERS_EVENT_LOAD_ERROR
var UI_PLAYERS_EVENT_LOAD_PROGRESS
var UI_PLAYERS_EVENT_LOAD_COMPLETE
var UI_PLAYERS_EVENT_LOAD_INIT
var UI_PLAYERS_EVENT_UNLOAD
var UI_PLAYERS_EVENT_DEEPLINK
var UI_PLAYERS_EVENT_XMLLOADED
var UI_PLAYERS_EVENT_CONTENT_SHOW
var UI_PLAYERS_EVENT_CONTENT_HIDE
var UI_PLAYERS_EVENT_CHILD_SHOW
var UI_PLAYERS_EVENT_CHILD_HIDE
var UI_PLAYERS_EVENT_CONTENT_HIDE_START
var UI_PLAYERS_EVENT_CHANGED
var UI_PLAYERS_EVENT_KILLFOCUS
var UI_PLAYERS_EVENT_SETFOCUS
var UI_PLAYERS_EVENT_SCROLLER
var UI_PLAYERS_EVENT_STATUS
var UI_PLAYERS_EVENT_METADATA
var UI_PLAYERS_EVENT_BUFFER_EMPTY
var UI_PLAYERS_EVENT_BUFFER_FULL
var UI_PLAYERS_EVENT_NOSTREAM
var UI_PLAYERS_EVENT_PLAY
var UI_PLAYERS_EVENT_PAUSE
var UI_PLAYERS_EVENT_STOP
var UI_PLAYERS_EVENT_START
var UI_PLAYERS_EVENT_END
var UI_PLAYERS_EVENT_SOUND_COMPLETE
var UI_PLAYERS_EVENT_SOUND_PLAY
var UI_PLAYERS_EVENT_SOUND_PAUSE
var UI_PLAYERS_EVENT_SOUND_STOP
var UI_PLAYERS_EVENT_SOUND_ID3
var UI_PLAYERS_EVENT_SOUND_LOADED
var _mouse: Boolean
True if mouse pointer is visible and false otherwise.
function set mouse(showOrHide)
var globalContext: String
When you change this value, the website switches to another context, e.g.
var AVAILABLE_CONTEXT_LIST: String
The available context list.
var toolsConfigFileName: String
Tools configuration file.
var toolsLanguageConfigFileName: String
Tools language file.
var languageConfigFileName: String
Silex language file.
var adminLanguage: String
Language for the admon mode / editing / WYSIWYG.
var language: String
Website language.
var AVAILABLE_LANGUAGE_LIST: String
The available language list.
var DEFAULT_LANGUAGE
Default language used by language auto detection if the language code of the browser is not in AVAILABLE_LANGUAGE_LIST.
var version: String
SILEX version Read from SCRIPT_LATEST_SILEX_VERSION through a call to silex.core.Com::getLatestSilexVersion.
var PHP_SESSION_WAKE_UP_INTERVAL: Number
interval time for the timer used to keep php session active in milliseconds
var ALLOW_LOGIN: String
Allow access to SILEX WYSIWYG (allow context menu which leads to authentication process + cookie).
var CONFIG_START_SECTION: String
Name of first page of the website.
var CONFIG_WEBSITE_CONF_FILE: String
Name of the configuration file for the website.
var FLASH_PLAYER_FOLDER: String
Name of the folder which will contain the layer skin folder.
var flashPlayerVersion: String
Flash player version used for a given website.
var ENABLE_DEEPLINKING: String
True if the website uses deeplinking.
var initialToolsFolderPath: String
Tools folder path on the server.
var initialFtpFolderPath: String
Media folder path on the server.
var initialContentFolderPath: String
Contents folder path on the server.
var installPath: String
Install folder path on the server.
var layoutFolderPath: String
Layouts folder path on the server.
var screenSaverDelay: Number
Number of seconds of inactivity before the screen saver activation commands are executed.
var screenSaverActivateCommands: String
Commands to be executed after inactivity was detected, i.e.
var screenSaverDeactivateCommands: String
Commands to be executed in screen saver mode after activiity is detected, i.e.
var XRAY_URL: String
URL of xray online debugging console.
var SHARED_OBJECT_NAME: String
var initialLayoutFile: String
First page will be opened in this layout.
var layoutStageWidth: String
Stage width for a given website.
var layoutStageHeight: String
Stage height for a given website.
var scaleMode: String
scaleMode for a given website.
var googleAnaliticsAccountNumber: String
id given by google when you create your free google analytics account.
var phpmyvisitesSiteNumber: String
Number given by phpMyVisites when you create a new website Ycan set this value in the website tool box.
var phpmyvisitesURL: String
var layerSkinUrl: String
Layer skin used for a given website.
var bgColor: String
Background color for a given website.
var toolsFolderRelativePath: String
Tools sub-folder to be concidered as the root for the tools for a given website, starting from the tools/ folder of the server.
var websiteFtpRelativeUrl: String
Media sub-folder to be concidered as the root for the library tool box for a given website, starting from the media/ folder of the server.
var commonAlertDuration: Number
Default duration of a “alertSimple” message.
var minimumAlertDuration: Number
Minimum duration of a “alertSimple” message.
var gatewayRelativePath: String
Path of the amfPhp gateway on the server.
var DataExchangeServiceName: String
Name of the data exchange service of silex.
var FtpServiceName: String
Name of the ftp service name of silex.
var SCRIPT_LOG: String
Path of the log script.
var SCRIPT_DOWNLOAD: String
Path of the download script.
var SCRIPT_LATEST_SILEX_VERSION: String
URL of the script used to retrieve SILEX latest stable version.
var sepchar: String
Word separator character in page names.
var accessorsSepchar: String
Variables separator character for accessors.
var accessorsLeftTag: String
Left separator for the accessors.
var accessorsLeftTagHtml: String
var accessorsRightTag: String
Right separator for the accessors.
var accessorsRightTagHtml: String
var filterSeparator: String
Separator for the filters in accessors default value is space char : <<filtername accessorname>>
var SEQUENCER_STATE_PLAY: String
var SEQUENCER_STATE_PAUSE: String
var SEQUENCER_STATE_STOP: String
var DEBUG_LEVEL_ERROR: String
var DEBUG_LEVEL_WARNING: String
var DEBUG_LEVEL_DEBUG: String
var itemTypeField
var itemSizeField
var itemNameField
var itemModifDateField
var itemWidthField
var itemHeightField
var itemContentField
var UTF8_LOWER_ACCENTS: Array
UTF-8 lookup table for lower case accented letters This lookuptable defines replacements for accented characters from the ASCII-7 range.
var UTF8_UPPER_ACCENTS: Array
This class is the communication unit of SILEX : communication with php, javascript, mySql.
function getLatestSilexVersion(callback: Function)
Retrieve the last available version of SILEX.