Documentation TYPO3 par Ameos

class.tx_version_modfunc1.php

00001 <?php
00002 /***************************************************************
00003 *  Copyright notice
00004 *
00005 *  (c) 2004-2005 Kasper Skaarhoj (kasperYYYY@typo3.com)
00006 *  All rights reserved
00007 *
00008 *  This script is part of the TYPO3 project. The TYPO3 project is
00009 *  free software; you can redistribute it and/or modify
00010 *  it under the terms of the GNU General Public License as published by
00011 *  the Free Software Foundation; either version 2 of the License, or
00012 *  (at your option) any later version.
00013 *
00014 *  The GNU General Public License can be found at
00015 *  http://www.gnu.org/copyleft/gpl.html.
00016 *
00017 *  This script is distributed in the hope that it will be useful,
00018 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020 *  GNU General Public License for more details.
00021 *
00022 *  This copyright notice MUST APPEAR in all copies of the script!
00023 ***************************************************************/
00043 require_once(PATH_t3lib."class.t3lib_extobjbase.php");
00044 
00052 class tx_version_modfunc1 extends t3lib_extobjbase {
00053         function modMenu()      {
00054                 global $LANG;
00055 
00056                 return Array (
00057                         "tx_version_modfunc1_check" => "",
00058                 );
00059         }
00060 
00066         function main() {
00067                         // Initializes the module. Done in this function because we may need to re-initialize if data is submitted!
00068                 global $SOBE,$BE_USER,$LANG,$BACK_PATH,$TCA_DESCR,$TCA,$CLIENT,$TYPO3_CONF_VARS;
00069 
00070                 $theOutput.=$this->pObj->doc->spacer(5);
00071                 $theOutput.=$this->pObj->doc->section($LANG->getLL("title"),"Dummy content here...",0,1);
00072 
00073                 $menu=array();
00074                 $menu[]=t3lib_BEfunc::getFuncCheck($this->pObj->id,"SET[tx_version_modfunc1_check]",$this->pObj->MOD_SETTINGS["tx_version_modfunc1_check"]).$LANG->getLL("checklabel");
00075                 $theOutput.=$this->pObj->doc->spacer(5);
00076                 $theOutput.=$this->pObj->doc->section("Menu",implode(" - ",$menu),0,1);
00077 
00078                 return $theOutput;
00079         }
00080 }
00081 
00082 
00083 
00084 if (defined("TYPO3_MODE") && $TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/version/modfunc1/class.tx_version_modfunc1.php"])      {
00085         include_once($TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/version/modfunc1/class.tx_version_modfunc1.php"]);
00086 }
00087 
00088 ?>


Généré par Les experts TYPO3 avec  doxygen 1.4.6