<?php
class ReportsController extends CController
{
public function __call($name,$argument)
{
echo "test";
}
}
?>
これは私の Yii コントローラ クラスですindex.php?r=reports/test。URL を呼び出すとき__callは、テスト メソッドが存在しないためメソッドを呼び出す必要がありますが、エラーThe system is unable to find the requested action testエラーが発生します。