'add'), array(), null, false);1.2里面可以这样写 ??$h"/> 'add'), array(), null, false);1.2里面可以这样写 ??$h">

cakephp中联接图片的写发

WBOY
Release: 2016-06-13 10:59:52
Original
757 people have browsed it

cakephp中连接图片的写发

CakePHP 1.1 可以这样写

?

?

$html->link(       $html->image("add.gif"),       array('action' => 'add'),       array(),       null,       false);
Copy after login

1.2里面可以这样写

?

?

$html->link(       $html->image("add.gif"),       array('action' => 'add'),       array('escape' => false));
Copy after login

?

我用的是1.3.8 ,实验了一下可以这样写

?

?

$html->link(      $html->image('add.gif'),      '',      array('escape'=>false));
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!