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'; }
function testIsDataSource() { $FormTag = new WactFormTag(null, null, null); $this->assertTrue($FormTag->isDataSource()); }