[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/fckeditor/editor/_source/internals/ -> fckplugins.js (source)

   1  /*
   2   * FCKeditor - The text editor for internet
   3   * Copyright (C) 2003-2006 Frederico Caldeira Knabben
   4   * 
   5   * Licensed under the terms of the GNU Lesser General Public License:
   6   *         http://www.opensource.org/licenses/lgpl-license.php
   7   * 
   8   * For further information visit:
   9   *         http://www.fckeditor.net/
  10   * 
  11   * "Support Open Source software. What about a donation today?"
  12   * 
  13   * File Name: fckplugins.js
  14   *     Defines the FCKPlugins object that is responsible for loading the Plugins.
  15   * 
  16   * File Authors:
  17   *         Frederico Caldeira Knabben (fredck@fckeditor.net)
  18   */
  19  
  20  var FCKPlugins = FCK.Plugins = new Object() ;
  21  FCKPlugins.ItemsCount = 0 ;
  22  FCKPlugins.Items = new Object() ;
  23      
  24  FCKPlugins.Load = function()
  25  {
  26      var oItems = FCKPlugins.Items ;
  27  
  28      // build the plugins collection.
  29      for ( var i = 0 ; i < FCKConfig.Plugins.Items.length ; i++ )
  30      {
  31          var oItem = FCKConfig.Plugins.Items[i] ;
  32          var oPlugin = oItems[ oItem[0] ] = new FCKPlugin( oItem[0], oItem[1], oItem[2] ) ;
  33          FCKPlugins.ItemsCount++ ;
  34      }
  35  
  36      // Load all items in the plugins collection.
  37      for ( var s in oItems )
  38          oItems[s].Load() ;
  39  
  40      // This is a self destroyable function (must be called once).
  41      FCKPlugins.Load = null ;
  42  }


Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics