element check 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>
Also in PHP:
- artisan laravel install
- download laravel 8.x
- buscar un substring dentro de un string php
- adding days in date, php
- convert int to string php
- check if word exist in string
- Call to undefined function App\Models\str_slug()
- check the existing image in s3 laravel
- access config variable in codeigniter controller
- Route [login] not defined.Route [login] not defined.
- Allowed memory size of 2147483648 bytes exhausted composer install
- activity log spatie
- .htaccess to remove index page
- after for each loop in php
- download laravel composer
- FORMATA DATA COM PHP
- add days in current date php
- cache laravel docs
- daye in php
- Connect to SQL in a php PDO and print the data in it
- Jan 5, 2021 15:37:25 time format php
- exception php
- clear all laravel caches
- add one day to date in php