当前位置: 代码迷 >> PHP >> 这是cakePHP的异常吗
  详细解决方案

这是cakePHP的异常吗

热度:341   发布时间:2012-02-25 10:01:49.0
这是cakePHP的错误吗?
最近想学习一个PHP的框架,然后就在网上找了一下,都说挺好的,可是我下下来部署到PHPEclipse以后发现里面有个红叉,我又重新下载了一个还是有,这个红叉刚好在cakePHP的核心包里面,不知道是怎么回事?
PHP code

                     
                <div class="actions">
                    <ul>
                <?php
                    echo "\t\t<li>" .$html->link(sprintf(__('Edit %s', true), $singularHumanName), array('action' => 'edit', ${$singularVar}[$modelClass][$primaryKey])). " </li>\n";
                    echo "\t\t<li>" .$html->link(sprintf(__('Delete %s', true), $singularHumanName), array('action' => 'delete', ${$singularVar}[$modelClass][$primaryKey]), null, __('Are you sure you want to delete', true).' #' . ${$singularVar}[$modelClass][$primaryKey] . '?'). " </li>\n";
                    echo "\t\t<li>" .$html->link(sprintf(__('List %s', true), $pluralHumanName), array('action' => 'index')). " </li>\n";
                    echo "\t\t<li>" .$html->link(sprintf(__('New %s', true), $singularHumanName), array('action' => 'add')). " </li>\n";
                


就是以上几句

------解决方案--------------------
eclipse的html校验错误吧,没关系的
  相关解决方案