1<?php
2/**
3 * PHPTAL templating engine
4 *
5 * PHP Version 5
6 *
7 * @category HTML
8 * @package  PHPTAL
9 * @author   Laurent Bedubourg <lbedubourg@motion-twin.com>
10 * @author   Kornel Lesiński <kornel@aardvarkmedia.co.uk>
11 * @license  http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
12 * @version  SVN: $Id$
13 * @link     http://phptal.org/
14 */
15
16
17/**
18 * @package PHPTAL
19 * @subpackage Namespace
20 */
21class PHPTAL_Namespace_I18N extends PHPTAL_Namespace_Builtin
22{
23    public function __construct()
24    {
25        parent::__construct('i18n', 'http://xml.zope.org/namespaces/i18n');
26        $this->addAttribute(new PHPTAL_NamespaceAttributeContent('translate', 5));
27        $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('name', 5));
28        $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('attributes', 10));
29        $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('domain', 3));
30    }
31}
32
33