芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/clients/canaldegap.fr/modules/nuSOAP/nuSOAP.module.php
Lang('friendlyname'); } /*--------------------------------------------------------- GetVersion() ---------------------------------------------------------*/ function GetVersion() { return '1.0.1'; } /*--------------------------------------------------------- GetHelp() ---------------------------------------------------------*/ function GetHelp() { return $this->Lang('help'); } /*--------------------------------------------------------- GetAuthor() ---------------------------------------------------------*/ function GetAuthor() { return 'calguy1000'; } /*--------------------------------------------------------- GetAuthorEmail() ---------------------------------------------------------*/ function GetAuthorEmail() { return 'calguy1000@hotmail.com'; } /*--------------------------------------------------------- GetChangeLog() ---------------------------------------------------------*/ function GetChangeLog() { return $this->Lang('changelog'); } /*--------------------------------------------------------- IsPluginModule() ---------------------------------------------------------*/ function IsPluginModule() { return false; } /*--------------------------------------------------------- HasAdmin() ---------------------------------------------------------*/ function HasAdmin() { return false; } /*--------------------------------------------------------- IsAdminOnly() ---------------------------------------------------------*/ function IsAdminOnly() { return true; } /*--------------------------------------------------------- GetAdminSection() ---------------------------------------------------------*/ function GetAdminSection() { return 'extensions'; } /*--------------------------------------------------------- GetAdminDescription() ---------------------------------------------------------*/ function GetAdminDescription() { return $this->Lang('moddescription'); } /*--------------------------------------------------------- VisibleToAdminUser() ---------------------------------------------------------*/ function VisibleToAdminUser() { return false; } /*--------------------------------------------------------- GetDependencies() ---------------------------------------------------------*/ function GetDependencies() { return array(); } /*--------------------------------------------------------- Install() ---------------------------------------------------------*/ function Install() { // put mention into the admin log $this->Audit( 0, $this->Lang('friendlyname'), $this->Lang('installed',$this->GetVersion())); } /*--------------------------------------------------------- InstallPostMessage() ---------------------------------------------------------*/ function InstallPostMessage() { return $this->Lang('postinstall'); } /*--------------------------------------------------------- Load() Load the nuSOAP classes ---------------------------------------------------------*/ function Load() { require_once(dirname(__FILE__)."/classes/nusoap.php"); } /*--------------------------------------------------------- UninstallPostMessage() ---------------------------------------------------------*/ function UninstallPostMessage() { return $this->Lang('postuninstall'); } /*--------------------------------------------------------- Upgrade() ---------------------------------------------------------*/ function Upgrade($oldversion, $newversion) { $current_version = $oldversion; switch($current_version) { case "1.0": break; case "1.1": break; } // put mention into the admin log $this->Audit( 0, $this->Lang('friendlyname'), $this->Lang('upgraded',$this->GetVersion())); } /*--------------------------------------------------------- Uninstall() ---------------------------------------------------------*/ function Uninstall() { // put mention into the admin log $this->Audit( 0, $this->Lang('friendlyname'), $this->Lang('uninstalled')); } /*--------------------------------------------------------- DoAction($action, $id, $params, $return_id) ---------------------------------------------------------*/ function DoAction($action, $id, $params, $return_id=-1) { switch ($action) { case 'default': { break; } case 'defaultadmin': { break; } } } /*--------------------------------------------------------- DisplayErrorPage($id, $params, $return_id, $message) NOT PART OF THE MODULE API This is an example of a simple method to display error information on the admin side. ---------------------------------------------------------*/ function DisplayErrorPage($id, &$params, $returnid, $message='') { $this->smarty->assign('title_error', $this->Lang('error')); if ($message != '') { $this->smarty->assign_by_ref('message', $message); } // Display the populated template echo $this->ProcessTemplate('error.tpl'); } // Load } // class ?>