TiddlyWiki.org

Changeset 5001

Show
Ignore:
Timestamp:
16/05/08 18:13:03 (4 months ago)
Author:
simonmcmanus
Message:

cct - going home

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/association/serversides/cctiddly/Branches/Modules/includes/modules.php

    r5000 r5001  
    99      private $tiddlers; 
    1010          private $msgHandler; 
    11        
     11              
    1212      public function __construct($author, $version, $website) { 
    1313                global $Modules; 
     
    1515          $this->version = $version; 
    1616          $this->website = $website; 
    17        
    1817          $this->plugins = array(); 
    1918          $this->phpEvents = array(); 
     
    2120                  $this->msgHandler = array(); 
    2221                  array_push($Modules,$this); 
    23           /*$this->events = array();*/ 
    2422      } 
    25        
    26   
     23     
    2724 // Specified relative to the module folder, these javascripts will be directly included at the end of the whole wiki //  
    2825      public function addPlugin($script) { 
     
    3532       
    3633      public function addEvent($eventname, $fileInclude) { 
    37            if ( !isset($this->phpEvents[$eventname])) 
    38                      $this->phpEvents[$eventname] = array(); 
    39                                array_push($this->phpEvents[$eventname], $fileInclude);  
     34               if ( !isset($this->phpEvents[$eventname])) 
     35                       $this->phpEvents[$eventname] = array(); 
     36                array_push($this->phpEvents[$eventname], $fileInclude);  
    4037      } 
    4138