2009年1月27日星期二

[fw-mvc] placeholder versus $this->view->layout()

Is there benefit to using one of these approaches over the other from
within an action method?

$this->view->placeholder("food")->set("burrito");

$this->view->layout()->food = "burrito";

Thanks,
Ed

没有评论: