Class CMS_JSDialog

Description

Class CMS_JSDialog

Interface generation : all javascript codes This class is deprecated since Automne V4, only here for compatibility with old modules.

Located in /automne/classes/dialogs/jsdialog.php (line 28)

CMS_grandFather
   |
   --CMS_JSDialog
Direct descendents
Class Description
 class CMS_dialog Class CMS_dialog
Class Constant Summary
Method Summary
 void addAjaxAPI ()
 void addCalendar ()
 void addDHTMLMenu ()
 string addFrameCheck ()
 string addJavascriptCheck ([ $makeFocus = true])
 string addOnglet ()
 void addPopupImage ()
 void addSearchCheck ()
 void addStopTab ()
 void changeColor ()
 string launchScriptPopup ()
 string linksBlocker (integer $pageID)
 void reloadAll ()
 void reloadModules ()
 void reloadTree ()
 void setJavascript ( $javascript)
 string switchRows ()
Methods
addAjaxAPI (line 407)

add javascript Ajax API

  • access: public
void addAjaxAPI ()
addCalendar (line 372)

add javascript and CSS for calendar display

  • access: public
void addCalendar ()
addDHTMLMenu (line 324)

add javascript to view/hide the DHTMLMenu

  • access: private
void addDHTMLMenu ()
addFrameCheck (line 57)

add usefull javascript for verifying frame size

  • return: : the javascript to add
  • access: private
string addFrameCheck ()
addJavascriptCheck (line 481)

add usefull javascript for disable submit button

  • return: : the javascript to add
  • access: private
string addJavascriptCheck ([ $makeFocus = true])
  • $makeFocus
addOnglet (line 100)

add usefull javascript for page_summary

  • return: : the javascript to add
  • access: private
string addOnglet ()
addPopupImage (line 387)

add javascript popup image

  • access: public
void addPopupImage ()
addSearchCheck (line 297)

clearField : Emptying and filling search field checkField : Setting default value to search field

  • access: private
void addSearchCheck ()
addStopTab (line 421)

add javascript stopTab function

  • access: public
void addStopTab ()
changeColor (line 266)

reload modules frame

  • access: private
void changeColor ()
launchScriptPopup (line 591)

This function launch the scripts queue process in popup mode if it is needed

  • return: : the javascript to add
  • access: private
string launchScriptPopup ()
linksBlocker (line 670)

This function block all links and forms useage in page edition mode to avoid left the edition mode without saving it

  • return: : the javascript to add
  • access: private
string linksBlocker (integer $pageID)
  • integer $pageID: pageID : the current edited page ID (to unlock it if page is leaved anyway)
reloadAll (line 229)

reload all frameset usually to remove a frame (ie modules or tree frame)

  • access: private
void reloadAll ()
reloadModules (line 248)

reload modules frame

  • access: private
void reloadModules ()
reloadTree (line 207)

reload tree frame

  • access: private
void reloadTree ()
setJavascript (line 46)

Set dialog javascript

  • access: public
void setJavascript ( $javascript)
  • $javascript
switchRows (line 601)

This function add method to swith between the row/block display in page edition

  • return: : the javascript to add
  • access: private
string switchRows ()

Inherited Methods

Inherited From CMS_grandFather

 CMS_grandFather::autoload()
 CMS_grandFather::hasError()
 CMS_grandFather::log()
 CMS_grandFather::PHPErrorHandler()
 CMS_grandFather::raiseError()
 CMS_grandFather::setDebug()
 CMS_grandFather::setLog()
 CMS_grandFather::_raiseError()
 CMS_grandFather::__call()
Class Constants
MESSAGE_CONFIRM_EXIT_WITHOUT_SAVING = 1324 (line 30)

Inherited Constants

Inherited from CMS_grandFather

CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL

Documentation generated on Wed, 15 Feb 2012 15:31:29 +0100 by phpDocumentor 1.4.3