【问题标题】:Method HtmlHelper::tableheader does not exist [CORE\cake\libs\view\helper.php, line 154] [closed]方法 HtmlHelper::tableheader 不存在 [CORE\cake\libs\view\helper.php,第 154 行] [关闭]
【发布时间】:2011-10-19 12:01:29
【问题描述】:

我正在使用 cake php,我需要使用 tableheader,但我遇到了这个错误

Method HtmlHelper::tableheader does not exist [CORE\cake\libs\view\helper.php, line 154]

代码是:

$th = array ('sggs','ba','aa');
echo $this->Html->tableheader($th);

谢谢。

【问题讨论】:

    标签: cakephp html-helper tableheader


    【解决方案1】:

    “tableHeaders”的拼写谜题

    $th = array ('sggs','ba','aa');
    
    echo $this->Html->tableHeaders($th);
    

    【讨论】:

    • 我的视图识别 $html->link() 但不识别表头
    • thanks chetan ,但是这个输出是字符串而不是表格,谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-11-12
    • 2016-10-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-08-11
    • 1970-01-01
    相关资源
    最近更新 更多