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