[ Index ]
 

Code source de eZ Publish 3.9.0

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

title

Body

[fermer]

/kernel/common/ -> ezincludefunctions.php (source)

   1  <?php
   2  //
   3  // Definition of kernel include functions
   4  //
   5  // Created on: <05-Mar-2003 10:02:29 amos>
   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 ezincludefunctions.php
  30   Contains some useful kernel include functions which are nice to use in extensions.
  31  */
  32  
  33  /*!
  34  */
  35  function kernel_include( $name )
  36  {
  37      $include = "kernel/$name";
  38      return include_once( $include );
  39  }
  40  
  41  /*!
  42  */
  43  function kernel_common( $name )
  44  {
  45      $name = strtolower( $name );
  46      $include = "kernel/common/$name.php";
  47      return include_once( $include );
  48  }
  49  
  50  /*!
  51  */
  52  function datatype_class( $datatype, $className )
  53  {
  54      $className = strtolower( $className );
  55      $include = "kernel/classes/datatypes/$datatype/$className.php";
  56      return include_once( $include );
  57  }
  58  
  59  ?>


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