Sprawdź element cakphp
// admin_index.ctp
<td class="text-center">
<?= $this->element('view_check_ico',array('_check'=>$memberBookFacility['MemberBookFacility']['enabled'])) ?>
</td>
// View/Themed/CakeAdminLTE/Elements/view_check_ico.ctp
<?php
$_check = $_check>0 ? 'fa-check' : ' fa-times';
?>
<i style="font-size: 20px;" class="fa <?php echo $_check; ?>"></i>
Zidane (Vi Ly - VietNam)