[ Index ]
 

Code source de eZ Publish 3.9.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/kernel/setup/ -> ezsetupfunctioncollection.php (source)

   1  <?php
   2  //
   3  // Definition of eZSetupFunctionCollection class
   4  //
   5  // Created on: <02-Nov-2004 13:23:10 dl>
   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 ezsetupfunctioncollection.php
  30  */
  31  
  32  /*!
  33    \class eZSetupFunctionCollection ezsetupfunctioncollection.php
  34    \brief The class eZSetupFunctionCollection does
  35  
  36  */
  37  
  38  include_once ( 'kernel/error/errors.php' );
  39  include_once ( 'lib/version.php' );
  40  
  41  class eZSetupFunctionCollection
  42  {
  43      /*!
  44       Constructor
  45      */
  46      function eZSetupFunctionCollection()
  47      {
  48      }
  49  
  50  
  51      function fetchFullVersionString()
  52      {
  53          return array( 'result' => eZPublishSDK::version() );
  54      }
  55  
  56      function fetchMajorVersion()
  57      {
  58          return array( 'result' => eZPublishSDK::majorVersion() );
  59      }
  60  
  61      function fetchMinorVersion()
  62      {
  63          return array( 'result' => eZPublishSDK::minorVersion() );
  64      }
  65  
  66      function fetchRelease()
  67      {
  68          return array( 'result' => eZPublishSDK::release() );
  69  
  70      }
  71  
  72      function fetchState()
  73      {
  74          return array( 'result' => eZPublishSDK::state() );
  75      }
  76  
  77      function fetchIsDevelopment()
  78      {
  79          return array( 'result' => eZPublishSDK::developmentVersion() ? true : false );
  80      }
  81  
  82      function fetchRevision()
  83      {
  84          return array( 'result' => eZPublishSDK::revision() );
  85      }
  86  
  87      function fetchDatabaseVersion( $withRelease = true )
  88      {
  89          return array( 'result' => eZPublishSDK::databaseVersion( $withRelease ) );
  90      }
  91  
  92      function fetchDatabaseRelease()
  93      {
  94          return array( 'result' => eZPublishSDK::databaseRelease() );
  95      }
  96  }
  97  
  98  ?>


Généré le : Sat Feb 24 10:30:04 2007 par Balluche grâce à PHPXref 0.7