public function show($id, $param) { $this->object = $id; self::$objectRetrieve = $this->object; $this->param = $param; $this->render('show'); }
public function testAutoPost() { $c = new AlphaController; $this->assertTrue($c->isPost('update')); $this->assertTrue($c->isPost('save')); $this->assertTrue($c->isPost('delete')); }