Changeset 1649
- Timestamp:
- 05/19/2007 12:10:58 PM (2 years ago)
- Files:
-
- branches/2.0/scripts/ModuleManager.class.php (modified) (1 diff)
- branches/2.0/scripts/PluginManager.class.php (modified) (1 diff)
- branches/2.0/scripts/interfaces/example.interface.php (modified) (2 diffs, 1 prop)
- branches/2.0/scripts/modules/HelloWorld.module.php (modified) (2 diffs, 1 prop)
- branches/2.0/scripts/modules/example_one.module.php (modified) (3 diffs, 1 prop)
- branches/2.0/scripts/plugins/Example.plugin.php (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/scripts/ModuleManager.class.php
r1648 r1649 3 3 /* 4 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute 6 * this file. 5 * Please read the license information on how to use, modify or re-distribute this file. 7 6 * 8 7 * $Author$ branches/2.0/scripts/PluginManager.class.php
r1648 r1649 3 3 /* 4 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute 6 * this file. 5 * Please read the license information on how to use, modify or re-distribute this file. 7 6 * 8 7 * $Author$ branches/2.0/scripts/interfaces/example.interface.php
- Property svn:keywords set to Date Revision Author HeadURL
r1640 r1649 1 1 <?php 2 2 3 /** 3 /* 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute this file. 6 * 7 * $Author$ 8 * $Date$ 9 * $Revision$ 10 * $URL$ 11 * 4 12 * We want to allow several modules to implement the example 5 13 * interface, therefore we use the MULTIPLE constant (defined by … … 28 36 } 29 37 30 ?> 38 /* EOF */ branches/2.0/scripts/modules/HelloWorld.module.php
- Property svn:keywords set to Date Revision Author HeadURL
r1640 r1649 1 1 <?php 2 2 3 /** 3 /* 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute this file. 6 * 7 * $Author$ 8 * $Date$ 9 * $Revision$ 10 * $URL$ 11 * 4 12 * JLOG_MOD_HelloWorld 5 13 * … … 9 17 * @access public 10 18 **/ 19 11 20 class JLOG_MOD_HelloWorld 12 21 { 13 22 public function __construct() { 14 echo("Hello World"); 23 echo "This is Module " . __CLASS__ . " saying hello to the world!"; 24 } 25 public function __destruct() { 26 echo "This is Module " . __CLASS__ . " saying good bye to the world!"; 15 27 } 16 28 } 17 29 18 ?> 30 31 /* EOF */ branches/2.0/scripts/modules/example_one.module.php
- Property svn:keywords set to Date Revision Author HeadURL
r1640 r1649 1 1 <?php 2 2 3 /** 3 /* 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute this file. 6 * 7 * $Author$ 8 * $Date$ 9 * $Revision$ 10 * $URL$ 11 * 4 12 * JLOG_MOD_example_one 5 13 * … … 14 22 * @access public 15 23 **/ 24 16 25 class JLOG_MOD_example_one implements JLOG_IFACE_example 17 26 { … … 20 29 } 21 30 public function example() { 22 echo "Example method of example_one modulecalled.";31 echo "Example method of module " . __CLASS__ . " called."; 23 32 } 24 33 } 25 34 26 ?> 35 /* EOF */ branches/2.0/scripts/plugins/Example.plugin.php
- Property svn:keywords set to Date Revision Author HeadURL
r1645 r1649 1 1 <?php 2 2 3 /** 3 /* 4 * This file is part of Jlog <http://jeenaparadies.net/projects/jlog> 5 * Please read the license information on how to use, modify or re-distribute this file. 6 * 7 * $Author$ 8 * $Date$ 9 * $Revision$ 10 * $URL$ 11 * 4 12 * JLOG_PLUGIN_Example 5 13 * … … 9 17 * @access public 10 18 **/ 19 11 20 class JLOG_PLUGIN_Example 12 21 { … … 25 34 } 26 35 27 ?> 36 /* EOF */
