. */ /** * Doctrine_Template_I18n * * @package Doctrine * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @category Object Relational Mapping * @link www.phpdoctrine.com * @since 1.0 * @version $Revision$ * @author Konsta Vesterinen */ class Doctrine_Template_I18n extends Doctrine_Template { protected $_i18n; public function __construct(array $options) { $this->_i18n = new Doctrine_I18n($options); } public function setUp() { $this->_i18n->setOption('table', $this->_table); $this->_i18n->buildDefinition($this->_table); } public function getI18n() { return $this->_i18n; } }