Friday, October 29, 2010
Thursday, October 28, 2010
Wednesday, October 27, 2010
Tuesday, October 26, 2010
Sunday, October 24, 2010
Tuesday, October 19, 2010
Friday, October 15, 2010
Yii's CDetailView
Thanks, now I know how to handle changing the numeric representations into their string equivalents, just like in the blog tutorial:
$this->widget('zii.widgets.CDetailView', array(
'data'=>$model,
'attributes'=>array(
'id',
'title',
'content',
'tags',
array(
'name'=>'status',
'value'=>Lookup::item('PostStatus',$model->status)
),
'create_time',
'update_time',
array(
'name'=>'author_id',
'value'=>User::model()->find(
'id=:author_id',
array(
':author_id'=>$model->author_id
)
)->username,
),
),
));
Saturday, October 09, 2010
Wednesday, October 06, 2010
Tuesday, October 05, 2010
Monday, October 04, 2010
Diosdado Banatao: Philantropist, venture capitalist, technopreneur, most importantly Filipino, http://bit.ly/9TlPYc
Sunday, October 03, 2010
Subscribe to:
Posts (Atom)