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

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


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