Properties

$dependencies

$dependencies : 

Type

$shortcuts

$shortcuts : 

Type

$singleton

$singleton : 

Type

$class_hash

$class_hash : 

Type

$_shorts

$_shorts : 

Type

$_shorts_loaded

$_shorts_loaded : 

Type

$_class_index

$_class_index : 

Type

$ce_loaded

$ce_loaded : 

Type

$language_set

$language_set : 

Type

$dyndd_counter

$dyndd_counter : 

Type

$file_browser

$file_browser : 

Type

$returnJScache

$returnJScache : 

Type

$googleAPIkey

$googleAPIkey : 

Type

$inits

$inits : 

Type

Methods

__get()

__get(  $name) 

Parameters

$name

__isset()

__isset(  $name) 

Parameters

$name

__dependencies()

__dependencies() 

__shortcuts()

__shortcuts() 

__destruct()

__destruct() 

__construct()

__construct() 

Construct of the jquery class

langfile()

langfile(  $file) 

Parameters

$file

fullcalendar()

fullcalendar() 

monthpicker()

monthpicker() 

get_jscode()

get_jscode(  $module = 'all',   $id) 

Parameters

$module
$id

init_jqplot()

init_jqplot(  $mobile = false) 

Parameters

$mobile

init_multilang()

init_multilang() 

init_geomap()

init_geomap() 

init_toast()

init_toast() 

CodeEditor()

CodeEditor(  $id,   $code,   $type = "html",   $options = array()) : \CHAR

Code Editor

Parameters

$id

ID of the input field

$code

SourceCode to be highlighted

$type

html/xml/css/html_js

$options

Array with options

Returns

\CHAR

CustomUI()

CustomUI(  $template) 

Load custom UI css file

Parameters

$template

Template name

Dialog()

Dialog(  $name,   $title,   $options,   $type = 'url') : \CHAR

Dialog

Parameters

$name

ID of the input field

$title

Title of the window

$options

Array with options

$type

confirm/url/alert/alert_indirect

Returns

\CHAR

Slider()

Slider(  $id,   $options,   $type = 'normal',   $returnJS = false) : \HTML

Slider

Parameters

$id

ID of the input field

$options

Options Array

$type

normal/range

$returnJS

Returns

\HTML

selectall_checkbox()

selectall_checkbox(  $id,   $name,   $exid = false) : false

Check all Checkboxes

Parameters

$id

ID of the css class (must be unique)

$name

name of the checkboxes to be checked

$exid

exclude an ID being checked

Returns

false

Autocomplete()

Autocomplete(  $id,   $myarray,   $returnJS = false) : false

Autocomplete

Parameters

$id

ID of the input field

$myarray

Data Array

$returnJS

Returns

false

AutocompleteMultiple()

AutocompleteMultiple(  $id,   $myarray,   $js_function) 

Parameters

$id
$myarray
$js_function

init_spinner()

init_spinner() 

Accordion()

Accordion(  $name,   $list,   $options = array()) : \CHAR

Horizontal Accordion

Parameters

$name

Name/ID of the accordion (must be unique)

$list

Content array in the format: title => content

$options

Returns

\CHAR

lightbox()

lightbox(  $id,   $options) 

Parameters

$id
$options

Calendar()

Calendar(  $name,   $value,   $jscode = '',   $options = array(),   $returnJS = false) : \CHAR

Date Picker

Parameters

$name

Name/ID of the calendar (must be unique)

$value

Value for the input field

$jscode

Javascript code of the input field

$options

Array with Options for calendar

$returnJS

Returns

\CHAR

Tab_header()

Tab_header(  $name,   $cookie = false,   $taboptions = false) : \CHAR

Tab Header

Parameters

$name

Name/ID of the tabulator (must be unique)

$cookie

Save the selection or not...

$taboptions

Options array

Returns

\CHAR

Tab_Select()

Tab_Select(  $name,   $selection) : \CHAR

Select a tab of an existing tab group

Parameters

$name

Name/ID of the tabulator (must be unique)

$selection

The Number of the tab to be selected (starts with 0)

Returns

\CHAR

colorpicker()

colorpicker(  $id,   $value,   $name = '',   $size = '14',   $jscode = '',   $options = array(),   $returnJS = false) : \CHAR

Color Picker

Parameters

$id
$value

Value for the input field

$name

Name/ID of the colorpicker field (must be unique)

$size

size of the field

$jscode

Optional JavaScript Code tags

$options
$returnJS

Returns

\CHAR

SetProgressbarValue()

SetProgressbarValue(  $id,   $value) : \CHAR

Set Progress Bar Value

Parameters

$id

ID of the div (must be unique)

$value

Value between 0 and 100

Returns

\CHAR

progressbar()

progressbar(  $id,   $value,   $options = array()) : \CHAR

Progress Bar

Parameters

$id

ID of the div (must be unique)

$value
$options

Array with options [completed, total, text, txtalign, directout]

Returns

\CHAR

init_formvalidation()

init_formvalidation() : \JScode

Init the formvalidation "hide-message-if-empty-inout" functionality

Returns

\JScode

starrating()

starrating(  $name,   $url,   $options = array()) : \CHAR

Star Rating Widget

Parameters

$name

name/id of the rating thing

$url

url for the ajax post request

$options

Options array

Returns

\CHAR

starrating_js()

starrating_js() 

MultiSelect()

MultiSelect(  $name,   $list,   $selected,   $options = array(),   $returnJS = false) : \CHAR

MultiSelect with checkboxes & filter

Parameters

$name

Name/ID of the colorpicker field (must be unique)

$list
$selected

selected items as string or array

$options

Array with options [id, preview_num, no_animation, sel_text, header, multiple]

$returnJS

Returns

\CHAR

rssFeeder()

rssFeeder(  $name,   $url,   $items = '4',   $length = '80',   $backgr = false) : \TimePicker

RSS Feed Reader

Parameters

$name

ID of the css class (must be unique)

$url

URL to the Feed

$items

Amount of Feed items to show

$length

Preview text length

$backgr

Bakcground (true/false)

Returns

\TimePicker —

JS Code

loadRssFeed()

loadRssFeed(  $url) : \--

Load the RSS Feed

Parameters

$url

URL of the Feed File

Returns

\--

timePicker()

timePicker(  $id,   $name = '',   $value,   $enablesecs = false,   $hourf = 24,   $returnJS = false) : \TimePicker

Single Time Picker

Parameters

$id
$name

ID of the css class (must be unique)

$value

default value of the input

$enablesecs

use seconds

$hourf

Format of the time: 24 or 12

$returnJS

Returns

\TimePicker —

JS Code

charts()

charts(  $type,   $id,   $data,   $options = array()) : \HTML

jqPlot: charts

Parameters

$type

The type of the chart (line, pie)

$id

ID of the css class (must be unique)

$data

Array with data

$options

The options array

Returns

\HTML —

Code

qtip()

qtip(  $name,   $content,   $options = array()) : \Tooltip

ToolTip

Parameters

$name

class/id name

$content
$options

Returns

\Tooltip

Collapse()

Collapse(  $id,   $hide = false,   $persist = true) : \Tooltip

Collapsable div

Parameters

$id
$hide

Hide the collapsable div on load?

$persist

Save open/closed status?

Returns

\Tooltip

json_dropdown()

json_dropdown(  $id1,   $id2,   $array1,   $jsonname,   $selected1,   $selected2 = '') : array

Binding DropDowns: Select in first, changes the input of second DD

Parameters

$id1

The ID of the first (parent) dropdown

$id2

The ID of the second (child) dropdown

$array1

The array for the first (parent) dropdown

$jsonname
$selected1

Value of the first (parent) dropdown

$selected2

Value of the second (child) dropdown

Returns

array —

with two dropdowns (parent & child)

js_dd_ajax()

js_dd_ajax(  $id1,   $id2,   $url,   $add_posts = '',   $add_ids = array()) 

Binding DropDowns: Select in parent, changes the input of child DD Sets the necessary js-code, does not provide html-code!

Parameters

$id1
$id2
$url
$add_posts
$add_ids

dd_ajax_request()

dd_ajax_request(  $id1,   $id2,   $array1,   $array2,   $selected1,   $url,   $add_posts = '',   $selected2 = '') : array

Binding DropDowns: Select in first, changes the input of second DD

Parameters

$id1

The ID of the first (parent) dropdown

$id2

The ID of the second (child) dropdown

$array1

The array for the first (parent) dropdown

$array2

The array for the second (child) dropdown

$selected1

Value of the first (parent) dropdown

$url

The URL to the ajax call, see "dd_create_ajax"

$add_posts
$selected2

Value of the second (child) dropdown

Returns

array —

with two dropdowns (parent & child)

dd_create_ajax()

dd_create_ajax(  $cstlist,   $options = array()) : \dropdown

Build the ajax Recall for the DropDown Selectables

Parameters

$cstlist
$options

Returns

\dropdown —

options

imageUploader()

imageUploader(  $type,   $inputid,   $imgname,   $imgpath,   $options = array(),   $storageFolder = false) : void

Image uploader

Parameters

$type

The type of the filebrowser

$inputid

The ID of the input

$imgname

The image name

$imgpath

The image path

$options

The options array

$storageFolder

Storage folder

fileBrowser()

fileBrowser(  $type = 'user',   $filter = 'none',   $storageFolder = false,   $options = array()) : void

FileBrowser

Parameters

$type

user / all

$filter

none / image

$storageFolder
$options

toolbar()

toolbar(  $id,   $arrItems,   $options = array()) : void

Toolbar

Parameters

$id

The ID of the toolbar

$arrItems

The item elements

$options

The options array

placepicker()

placepicker(  $id,   $returnJS = false) 

Parameters

$id
$returnJS

geomaps()

geomaps(  $id,   $arrMarkers = array()) 

Parameters

$id
$arrMarkers

googlemaps()

googlemaps(  $id,   $arrMarkers = array()) 

Parameters

$id
$arrMarkers

implode_wrapped()

implode_wrapped(  $before,   $after,   $glue,   $array) : \sanatized

Implode wrapped version

Parameters

$before

before the value

$after

after the value

$glue

semicolon or other divorce-signs

$array

the data array

Returns

\sanatized —

text

sanitize()

sanitize(  $mssg,   $rmlb = false) : \sanatized

Clean up Text for usage in JS Outputs

Parameters

$mssg

The text to sanatize

$rmlb

Returns

\sanatized —

text

DropDownMenu()

DropDownMenu(  $id,   $menuitems,   $button = '') : \CHAR

DropDown Menu

Parameters

$id

ID of the css class (must be unique)

$menuitems

Array with menu information

$button

Show a button with name?

Returns

\CHAR

ButtonDropDownMenu()

ButtonDropDownMenu(  $id,   $menuitems,   $checkbox_listener = array(),   $button = '',   $buttonIcon = '') : \CHAR

DropDown Menu

Parameters

$id

ID of the css class (must be unique)

$menuitems

Array with menu information

$checkbox_listener
$button

Show a button with name?

$buttonIcon

Returns

\CHAR

SuckerFishMenu()

SuckerFishMenu(  $array,   $name,   $mnuimagepth,   $nodefimage = false,   $scndclass = '') : \CHAR

SuckerFish horizontal Menu

Parameters

$array

Menu items array

$name

Name of the ul class

$mnuimagepth

Image path for menu images

$nodefimage

Do not use a default image

$scndclass

Returns

\CHAR

MenuConstruct_html()

MenuConstruct_html(  $array,   $name,   $mnuimagepth,   $nodefimage,   $scndclass = 'sf-admin') : \CHAR

Construct: HTML for the SuckerFish Menu

Parameters

$array

Menu items array

$name

Name of the ul class

$mnuimagepth

Image path for menu images

$nodefimage

Do not use a default image

$scndclass

Class of the menu

Returns

\CHAR

charts_pie()

charts_pie(  $id,   $data,   $options = array()) : \TimePicker

jqPlot: PieChart

Parameters

$id

ID of the css class (must be unique)

$data

Array with data

$options

The options array

Returns

\TimePicker —

JS Code

charts_line()

charts_line(  $id,   $data,   $options = array()) : \HTML

jqPlot: LineChart

Parameters

$id

ID of the css class (must be unique)

$data

Array with data

$options

The options array

Returns

\HTML —

Code

charts_multiline()

charts_multiline(  $id,   $data,   $options = array()) : \HTML

jqPlot: MultiLineChart

Parameters

$id

ID of the css class (must be unique)

$data

Array with data $data = array('series1' => array('name' => 'Name of Series1', 'lineWidth' => 4, 'markerStyle' => 'square', 'data' => array(array(0,1), array(1, 10), array(2, 15))), 'series2' => ..... );

$options

The options array

Returns

\HTML —

Code

gen_options()

gen_options(  $array) 

Parameters

$array

setLanguage()

setLanguage(  $name,   $initname) : \CHAR

Set Language loader if requiredr

Parameters

$name

Name of the lamng handler to be loaded

$initname

the code to be initialized..

Returns

\CHAR

Array2jsArray()

Array2jsArray(  $array,   $jq_array = false,   $trenner = '"') 

Parameters

$array
$jq_array
$trenner

init_suckerfish()

init_suckerfish() 

MenuConstruct_js()

MenuConstruct_js(  $name) : \CHAR

Construct: Javascript for the SuckerFish Menu

Parameters

$name

Name of the ul class

Returns

\CHAR