[xoops-cvslog 1978] CVS update: xoops2jp/html/modules/base/kernel

Back to archive index

Minahito minah****@users*****
2006年 1月 27日 (金) 18:27:44 JST


Index: xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php
diff -u xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.2 xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.3
--- xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php:1.1.2.2	Wed Jan 11 12:32:51 2006
+++ xoops2jp/html/modules/base/kernel/Legacy_ModuleController.class.php	Fri Jan 27 18:27:44 2006
@@ -1,5 +1,5 @@
 <?php
-// $Id: Legacy_ModuleController.class.php,v 1.1.2.2 2006/01/11 03:32:51 minahito Exp $
+// $Id: Legacy_ModuleController.class.php,v 1.1.2.3 2006/01/27 09:27:44 minahito Exp $
 //  ------------------------------------------------------------------------ //
 //              XOOPS Cube - PHP Content Management System                   //
 //                  Copyright (c) 2005 XOOPS Cube.org                        //
@@ -125,6 +125,15 @@
 	{
 		return XOOPS_ROOT_PATH."/modules/".$this->mModuleObject->getVar('dirname');
 	}
+
+	/**
+	 *  Return module's directory name. This function is dependent on the design
+	 * of Legacy.
+	 */	
+	function getDirname()
+	{
+		return is_object($this->mModuleObject) ? $this->mModuleObject->get('dirname') : null;
+	}
 	
 	function &getXoopsModule()
 	{


xoops-cvslog メーリングリストの案内
Back to archive index