public function action($p1, $p2) { self::$actionExecuted = true; self::$actionParams = array($p1, $p2); }