我有这个声明:
public function table_creator($thread, $table_body, $class='datagrid', $caption=null){
some code
}
当我这样执行它时:
<?php echo SomeClass::table_creator($this->report_keys, $report, $caption="Answers"); ?>
在变量$class
中有“数据网格”的“答案”,有没有办法不$class
让它工作?