Vote count:
0
iam looking for a correct syntax to disable a chtml link when the value is "1" in clistview.
This is my code, i tried some arrays but always got error because i dont know the correct sintax to make it work.
<?php echo CHtml::link($data->EstadoDetalle==1?'Entregada':'No entregada', array('estado', 'id'=>$data->CodigoDetalleReceta)); ?>
asked 47 secs ago
Yii disable link after update
Aucun commentaire:
Enregistrer un commentaire