2009-09-30 04:35:43 +00:00
|
|
|
[?php
|
|
|
|
|
2009-10-06 22:38:34 +00:00
|
|
|
<?php if ($this->_hasNamespace($metadata)): ?>
|
|
|
|
namespace <?php echo $this->_getNamespace($metadata) ?>;
|
2009-10-05 22:09:29 +00:00
|
|
|
<?php endif; ?>
|
2009-10-05 04:11:29 +00:00
|
|
|
|
2010-03-09 02:54:07 +00:00
|
|
|
<?php if ($this->_extendsClass()): ?>
|
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
|
|
|
|
|
|
|
/**
|
2010-03-09 02:54:07 +00:00
|
|
|
* <?php echo $this->_getEntityAnnotation($metadata)."\n"; ?>
|
2009-10-06 22:38:34 +00:00
|
|
|
* <?php echo $this->_getTableAnnotation($metadata)."\n" ?>
|
2010-03-01 04:27:17 +00:00
|
|
|
* <?php echo $this->_getInheritanceAnnotation($metadata)."\n" ?>
|
2010-03-09 02:54:07 +00:00
|
|
|
* <?php echo $this->_getDiscriminatorColumnAnnotation($metadata)."\n" ?>
|
|
|
|
* <?php echo $this->_getDiscriminatorMapAnnotation($metadata)."\n" ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
*/
|
2010-03-09 02:54:07 +00:00
|
|
|
class <?php echo $this->_getClassName($metadata); ?><?php if ($this->_extendsClass()): ?> extends <?php echo $this->_getClassToExtendName() ?><?php endif; ?>
|
2009-10-05 04:11:29 +00:00
|
|
|
{
|
|
|
|
<?php include('annotation_body.tpl.php') ?>
|
2009-09-30 04:35:43 +00:00
|
|
|
}
|