This is basic, but I don't seem to be getting it.
What is the recommended way to have multiple actions share view scripts?
Suppose, for example, that example.org/things/create and
example.org/things/update/5436 are, respectively, for creating a new thing
and editing the thing whose id is 5436. I'd like them both to use a
thingform.phtml. I see that controller methods can "manually" go
$this->render('thingform') and that works, or I can symlink thingform to
create.phtml and not render manually... but what's the officially approved
technique?
I have not been able to figure out how to make a view include/render another
view, except with a plain old PHP include() or require(), which also works,
but... Same question: what's the recommended technique for this?
Thanks a million,
--
David Mintz
http://davidmintz.org/
The subtle source is clear and bright
The tributary streams flow through the darkness