[ Index ]

PHP Cross Reference of Unnamed Project v0.00

title

Body

[close]

/ -> XSLTLogHandlerFactory.phl (source)

   1  <?php
   2  require_once "jp/ne/hi_ho/pat/dimension/Object.phl";
   3  ?>
   4  <?php
   5  define("CLASSPATH_XSLT", "jp/ne/hi_ho/pat/dimension/xml/xslt/");
   6  ?>
   7  <?php
   8  /**
   9   * XSLTLogHandlerオブジェクトを返すFactoryクラスです
  10   *
  11   * @package jp.ne.hi_ho.pat.dimension.xml.xslt
  12   * @access    public
  13   * @author    Hideyuki Shimooka <dimension@pat.hi-ho.ne.jp>
  14   * @create    2002/02/02
  15   * @version    $Id: XSLTLogHandlerFactory.phl,v 1.4 2002/02/17 15:06:12 shimooka Exp $
  16   **/
  17  class XSLTLogHandlerFactory extends Object
  18  {
  19      /**
  20       * バージョンにあわせたXSLTLogHandlerオブジェクトを返します
  21       *
  22       * @access    public
  23       * @return    Object    XSLTLogHandler    XSLTLogHandlerオブジェクト
  24       */
  25  	function create()
  26      {
  27          $logHandler = null;
  28          $ver = phpversion();
  29          if ($ver >= "4.1.0") {
  30              include_once  CLASSPATH_XSLT . "XSLTLogHandler41.phl";
  31              $logHandler = new XSLTLogHandler41();
  32          }
  33          else if ($ver >= "4.0.3") {
  34              include_once  CLASSPATH_XSLT . "XSLTLogHandler40.phl";
  35              $logHandler = new XSLTLogHandler40();
  36          }
  37  
  38          return $logHandler;
  39      }
  40  }
  41  ?>


Generated: Wed May 25 00:22:31 2005 Cross-referenced by PHPXref 0.6