element cakephp

Solutions on MaxInterview for element cakephp by the best coders in the world

showing results for - "element cakephp"
Francesca
06 May 2020
1// admin_index.ctp
2<td class="text-center">
3   <?= $this->element('view_check_ico',array('_check'=>$memberBookFacility['MemberBookFacility']['enabled'])) ?>
4</td>
5
6
7// View/Themed/CakeAdminLTE/Elements/view_check_ico.ctp
8<?php
9	$_check = $_check>0 ? 'fa-check' : ' fa-times';
10 ?>
11	<i style="font-size: 20px;" class="fa <?php echo $_check; ?>"></i>&nbsp;
12