00001 <?php 00002 // 00003 // $Id$ 00004 // 00005 // Definition of eZElementType class 00006 // 00007 // Bård Farstad <bf@ez.no> 00008 // Created on: <14-Feb-2002 10:04:29 bf> 00009 // 00010 // ## BEGIN COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00011 // SOFTWARE NAME: eZ publish 00012 // SOFTWARE RELEASE: 3.9.x 00013 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 00014 // SOFTWARE LICENSE: GNU General Public License v2.0 00015 // NOTICE: > 00016 // This program is free software; you can redistribute it and/or 00017 // modify it under the terms of version 2.0 of the GNU General 00018 // Public License as published by the Free Software Foundation. 00019 // 00020 // This program is distributed in the hope that it will be useful, 00021 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00023 // GNU General Public License for more details. 00024 // 00025 // You should have received a copy of version 2.0 of the GNU General 00026 // Public License along with this program; if not, write to the Free 00027 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00028 // MA 02110-1301, USA. 00029 // 00030 // 00031 // ## END COPYRIGHT, LICENSE AND WARRANTY NOTICE ## 00032 // 00033 00034 /*! 00035 \class eZElementType ezelementtype.php 00036 \ingroup eZXML 00037 \brief eZElementType is the main element type object 00038 */ 00039 00040 class eZElementType 00041 { 00042 /*! 00043 Creates a new element type object 00044 */ 00045 function eZElementType() 00046 { 00047 } 00048 00049 /*! 00050 Returns the type name. 00051 */ 00052 function isA() 00053 { 00054 return "mainType"; 00055 } 00056 00057 /*! 00058 Sets the type name 00059 */ 00060 function setName( $name ) 00061 { 00062 $this->Name = $name; 00063 } 00064 00065 /// the name of the type 00066 var $Name; 00067 } 00068 00069 ?>
1.6.3