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