Issue
i have this link
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $o->id]) ?>.
Instead of Edit ,i want to use edit html character (✎).
please help.
Solution
Just add "escape" parameter and set it to false.
You may wanna refer to this: CakePHP 3 creating links
<?php
echo Html->link(__('✎'),
['action' => 'edit', $o->id],
['escape' => false]
) ?>
Answered By - Object Manipulator
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.