Documentation TYPO3 par Ameos

class.tx_version_modfunc1.php

00001 <?php
00002 /***************************************************************
00003 *  Copyright notice
00004 *
00005 *  (c) 2004 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 ***************************************************************/
00032 require_once(PATH_t3lib."class.t3lib_extobjbase.php");
00033 
00034 class tx_version_modfunc1 extends t3lib_extobjbase {
00035         function modMenu()      {
00036                 global $LANG;
00037 
00038                 return Array (
00039                         "tx_version_modfunc1_check" => "",
00040                 );
00041         }
00042 
00043         function main() {
00044                         // Initializes the module. Done in this function because we may need to re-initialize if data is submitted!
00045                 global $SOBE,$BE_USER,$LANG,$BACK_PATH,$TCA_DESCR,$TCA,$CLIENT,$TYPO3_CONF_VARS;
00046 
00047                 $theOutput.=$this->pObj->doc->spacer(5);
00048                 $theOutput.=$this->pObj->doc->section($LANG->getLL("title"),"Dummy content here...",0,1);
00049 
00050                 $menu=array();
00051                 $menu[]=t3lib_BEfunc::getFuncCheck($this->pObj->id,"SET[tx_version_modfunc1_check]",$this->pObj->MOD_SETTINGS["tx_version_modfunc1_check"]).$LANG->getLL("checklabel");
00052                 $theOutput.=$this->pObj->doc->spacer(5);
00053                 $theOutput.=$this->pObj->doc->section("Menu",implode(" - ",$menu),0,1);
00054 
00055                 return $theOutput;
00056         }
00057 }
00058 
00059 
00060 
00061 if (defined("TYPO3_MODE") && $TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/version/modfunc1/class.tx_version_modfunc1.php"])      {
00062         include_once($TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/version/modfunc1/class.tx_version_modfunc1.php"]);
00063 }
00064 
00065 ?>


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