[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/plugins/system/mtupgrade/ -> behavior.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: behavior.php 18130 2010-07-14 11:21:35Z louis $
File Size: 604 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JHTMLBehavior:: (13 methods):
  mootools()
  caption()
  formvalidation()
  switcher()
  combobox()
  tooltip()
  modal()
  uploader()
  tree()
  calendar()
  keepalive()
  _getJSObject()
  _calendartranslation()


Class: JHTMLBehavior  - X-Ref

JHTML helper class for loading JavaScript behaviors into the document head.  This version is
designed to load MooTools version 1.2 plus the 1.1 compatibility layer.

mootools($debug = null)   X-Ref
Method to load the mootools framework and compatibility layer into the document head.  If the
optional debug flag is set then a uncompressed version of the files will be loaded.

param: boolean  $debug  True to enable debugging mode.  If no value is set the value will
return: void

caption()   X-Ref
Method to load the system caption behavior.

return: void

formvalidation()   X-Ref
Method to load the system form validation behavior.

return: void

switcher()   X-Ref
Method to load the system container switcher behavior.

return: void

combobox()   X-Ref
Method to load the system combobox behavior.

return: void

tooltip($selector='.hasTip', $params = array()   X-Ref
Method to load the system tooltips behavior.  Because the tooltips class and interface has
changed between Mootools 1.2 and 1.1, we are including our 1.2 version and making it to work
in the same way as the old one.

param: string  $selector  The CSS selector for elements to apply the behavior.
param: array   $params    The array of options to use for the behavior.
return: void

modal($selector='a.modal', $params = array()   X-Ref
Method to load the system modal behavior.

param: string  $selector  The CSS selector for elements to apply the behavior.
param: array   $params    The array of options to use for the behavior.
return: void

uploader($id='file-upload', $params = array()   X-Ref
Method to load the system file uploader behavior.

param: string  $id      The DOM node id for the element to apply the behavior.
param: array   $params  The array of options to use for the behavior.
return: void

tree($id, $params = array()   X-Ref
Method to load the system tree behavior.

param: string  $id      The DOM node id for the element to apply the behavior.
param: array   $params  The array of options to use for the behavior.
param: array   $root    The array of root node options.
return: void

calendar()   X-Ref
Method to load the system calendar behavior.

return: void

keepalive()   X-Ref
Method to load the system keepalive behavior.  This will send an ascynchronous request to the
server via AJAX on an interval just under the session expiration lifetime so that the session
does not expire.

return: void

_getJSObject($array = array()   X-Ref
Method to get a simple JavaScript Object Notation (JSON) representation of an input
associative array.

param: array   $array  The array to convert to JavaScript Object Notation.
return: string  JavaScript Object Notation representation of the array.

_calendartranslation()   X-Ref
Method to get the internationalisation script/settings for the JavaScript Calendar behavior.

return: mixed  JavaScript calendar internationalisation settings script or null if already loaded.



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1