[ Index ]
 

Code source de Symfony 1.0.0

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

title

Body

[fermer]

/lib/vendor/propel-generator/templates/om/php4/ -> ExtensionPeer.tpl (source)

   1  <?php
   2  //  Create empty stub Peer class which extends the Base class created in Peer.tpl.
   3  //
   4  // $Id: ExtensionPeer.tpl,v 1.2 2004/10/31 10:24:41 micha Exp $
   5  
   6  echo '<' . '?' . 'php';
   7  
   8  $db = $table->getDatabase();
   9  if ($table->getPackage()) {
  10      $package = $table->getPackage();
  11  } else {
  12      $package = $targetPackage;
  13  }
  14  
  15  $thisClass = $table->getPhpName() . 'Peer';
  16  $baseClass = $basePrefix . $thisClass;
  17  ?>
  18  
  19  require_once '<?php echo ClassTools::getFilePath($pkbase, $basePrefix . $table->getPhpName() . 'Peer') ?>';
  20  include_once '<?php echo ClassTools::getFilePath($package, $table->getPhpName()) ?>';
  21  
  22  /**
  23   * The skeleton for this class was autogenerated by Propel <?php if ($addTimeStamp) { ?>on:
  24   *
  25   * [<?php echo $now ?>]
  26   *
  27  <?php } ?>
  28   *  You should add additional methods to this class to meet the
  29   *  application requirements.  This class will only be generated as
  30   *  long as it does not already exist in the output directory.
  31   *
  32   * @package <?php echo $package ?>
  33   */
  34  class <?php echo $table->getPhpName()?>Peer extends <?php echo $basePrefix . $table->getPhpName() ?>Peer
  35  {
  36  }


Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7