Example #1
0
 function prepare()
 {
     parent::prepare();
     if (!($form_name = $this->getAttribute('name'))) {
         //should we leave it like that?
         return;
     }
     $this->_renameChildren($form_name, $this->children);
     $this->tag = 'form';
 }
Example #2
0
 function testIsDataSource()
 {
     $FormTag = new WactFormTag(null, null, null);
     $this->assertTrue($FormTag->isDataSource());
 }