2009-09-30 04:35:43 +00:00
|
|
|
[?php
|
|
|
|
|
2009-10-06 22:38:34 +00:00
|
|
|
<?php if ($this->_hasNamespace($metadata)): ?>
|
2009-10-05 22:09:29 +00:00
|
|
|
|
2009-10-06 22:38:34 +00:00
|
|
|
namespace <?php echo $this->_getNamespace($metadata) ?>;
|
2009-10-05 22:09:29 +00:00
|
|
|
<?php endif; ?>
|
2009-10-06 22:38:34 +00:00
|
|
|
<?php if ($this->_extendsClass()): ?>
|
2009-10-05 04:11:29 +00:00
|
|
|
|
2009-10-06 22:38:34 +00:00
|
|
|
use <?php echo $this->_getClassToExtendNamespace() ?>;
|
2009-10-05 04:11:29 +00:00
|
|
|
<?php endif; ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
<?php if ($metadata->isMappedSuperclass): ?>
|
|
|
|
* @MappedSuperclass
|
|
|
|
<?php else: ?>
|
|
|
|
* @Entity
|
|
|
|
<?php endif; ?>
|
2009-10-06 22:38:34 +00:00
|
|
|
* <?php echo $this->_getTableAnnotation($metadata)."\n" ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
*/
|
2009-10-06 22:38:34 +00:00
|
|
|
class <?Php echo $this->_getClassName($metadata) ?><?php if ($this->_extendsClass()): ?> extends <?php echo $this->_getClassToExtendName() ?><?php endif; ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
|
2009-10-05 04:11:29 +00:00
|
|
|
{
|
|
|
|
<?php include('annotation_body.tpl.php') ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
}
|