[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 // 3 // Definition of eZDiffContainerObjectEngine class 4 // 5 // <creation-tag> 6 // 7 // SOFTWARE NAME: eZ publish 8 // SOFTWARE RELEASE: 3.9.0 9 // BUILD VERSION: 17785 10 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 11 // SOFTWARE LICENSE: GNU General Public License v2.0 12 // NOTICE: > 13 // This program is free software; you can redistribute it and/or 14 // modify it under the terms of version 2.0 of the GNU General 15 // Public License as published by the Free Software Foundation. 16 // 17 // This program is distributed in the hope that it will be useful, 18 // but WITHOUT ANY WARRANTY; without even the implied warranty of 19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 // GNU General Public License for more details. 21 // 22 // You should have received a copy of version 2.0 of the GNU General 23 // Public License along with this program; if not, write to the Free 24 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 25 // MA 02110-1301, USA. 26 // 27 // 28 29 /*! \file ezdiffcontainerobjectengine.php 30 eZDiffContainerObjectEngine class 31 */ 32 33 /*! 34 \class eZDiffContainerObjectEngine ezdiffcontainerobjectengine.php 35 \ingroup eZDiff 36 \brief Creates an object containing two versions of a content object. 37 38 The eZDiffEngine class is an abstract class, providing interface and shared code 39 for the different available DiffEngine. 40 */ 41 42 include_once ( 'lib/ezdiff/classes/ezdiffengine.php' ); 43 44 class eZDiffContainerObjectEngine extends eZDiffEngine 45 { 46 function eZDiffContainerObjectEngine() 47 { 48 } 49 50 /*! 51 Create containerobject containig content from two versions 52 */ 53 function createDifferenceObject( $old, $new ) 54 { 55 include_once ( 'lib/ezdiff/classes/ezdiffcontainerobject.php' ); 56 $container = new eZDiffContainerObject(); 57 $container->setOldContent( $old ); 58 $container->setNewContent( $new ); 59 60 return $container; 61 } 62 } 63 64 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |