2008年7月19日星期六

[fw-core] what's mean?like this?

Thanks to Matthew for taking some time out of his already hectic day, 'we'
(ok, HE) figured it out.  A couple of problems:

viewscript (testTest.phtml) changed to:

<?php foreach ($this->element as $element):
   $element->setView($this);
  endforeach ?>

<form
   action="<?= $this->element->getAction() ?>"
   method="<?= $this->element->getMethod() ?>"
   id="<?= $this->element->getName() ?>">


<h3>Continued test</h3>
<?= $this->element->test_name; ?>
</form>

没有评论: