Location: PHPKode > projects > DIY Blog > diy-blog/lib/propel/generator/templates/om/php4/ExtensionObject.tpl
<?php
// Create empty stub object class which extends the Base class created in Object.tpl.
//
// $Id: ExtensionObject.tpl,v 1.2 2004/10/30 17:53:47 micha Exp $

echo '<' . '?' . 'php';

$db = $table->getDatabase();
if ($db->getPackage()) {
    $package = $db->getPackage();
} else {
    $package = $targetPackage;
}

?>

require_once 'propel/om/Persistent.php';
require_once '<?php echo ClassTools::getFilePath($pkbase, $basePrefix . $table->getPhpName()) ?>';

/**
 * The skeleton for this class was autogenerated by Propel <?php if ($addTimeStamp) { ?> on:
 *
 * [<?php echo $now ?>]
 *
<?php } ?>
 * You should add additional methods to this class to meet the
 * application requirements.  This class will only be generated as
 * long as it does not already exist in the output directory.
 *
 * @package <?php echo $package ?>
 */
class <?php echo $table->getPhpName() ?> extends <?php echo $basePrefix . $table->getPhpName()
?>
{

}
Return current item: DIY Blog