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