Beispiel #1
0
 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));
 }
Beispiel #2
0
 public function __construct()
 {
     parent::__construct('phptal', 'http://phptal.org/ns/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));
 }
Beispiel #3
0
 public function __construct()
 {
     parent::__construct('metal', 'http://xml.zope.org/namespaces/metal');
     $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('define-macro', 1));
     $this->addAttribute(new PHPTAL_NamespaceAttributeReplace('use-macro', 9));
     $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('define-slot', 9));
     $this->addAttribute(new PHPTAL_NamespaceAttributeSurround('fill-slot', 9));
 }
Beispiel #4
0
 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));
 }