public function __construct() { parent::__construct('i18n', 'http://xml.zope.org/namespaces/i18n'); $this->addAttribute(new PHPTAL_NamespaceAttributeContent('translate', 5)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('name', 5)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('attributes', 10)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('domain', 3)); }
public function __construct() { parent::__construct('phptal', 'http://xml.zope.org/namespaces/phptal'); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('tales', -1)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('debug', -2)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('id', 7)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('cache', -3)); }
public function __construct() { parent::__construct('tal', 'http://xml.zope.org/namespaces/tal'); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('define', 4)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('condition', 6)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('repeat', 8)); $this->addAttribute(new PHPTAL_NamespaceAttributeContent('content', 11)); $this->addAttribute(new PHPTAL_NamespaceAttributeReplace('replace', 9)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('attributes', 9)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('omit-tag', 0)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('comment', 12)); $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('on-error', 2)); }