HI,
In Yii-1.0.11, I use
<?php echo CHtml::link('Show', array('show','id'=>$model->id), array('target'=>'_blank')) ; ?>
And that is working fine but in YII 1.1
I use this way
array(
'name'=>'Action',
'type'=>'raw',
'value' => 'CHtml::link("Show", array("show","id"=>$data->id,"target"=>"_blank"))',
),
And this is not working. Have any idea where is my problem
Page 1 of 1
Can not opne new Window
#2
Posted 05 March 2010 - 10:50 AM
php:
foreach(array('cat', 'dog', 'cow') as $animal) echo $animal."\n";
python:
[(animal, print(animal)) for animal in ['cat', 'dog', 'cow']]
ruby:
['cat', 'dog', 'cow'].each {|animal| puts animal}
You say Tomato, I say Tomato.
Share this topic:
Page 1 of 1

Help













