アクション内のメソッド名

こんな感じにしようかと。シンプルに。

class Foo extends M2_Action
{
    function execute()
    {
        // get the request parameter
        $name = $this->getParameter('name');

        // assign the value to the template variable
        $this->assign('name', $name);

        // display the template result
        $this->display();
    }
}

コード内のコメントを全部英語で書いてみているんだけど、なかなか難しいね。