- 413 名前:nobodyさん [2008/03/05(水) 09:42:25 ID:LSCm3THv]
- public function getParam()
{ $array = func_get_args(); $this->Params = $array; } public function text_dump($text1, $text2, $text3) { echo $text1."\n"; echo $text2."\n"; echo $text3."\n"; } 取得したパラメータを、別のメソッド(text_dump)で使用したいのですが、 引数の数が変動する場合に、何か良い振り分け方法はありませんか?
|

|