[ 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/php5/ -> ExtensionPeer.tpl (source)

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


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