Wiki articles tagged with "get"

Showing 1-2 of 2 items.

FORM with GET method causes repeated stacking of URL Parameters

Created 11 years ago by Kartik V Kartik V, updated 11 years ago by toph toph.

// In Yii 1.x $form = $this->beginWidget('CActiveForm', [

'id' => 'order-search-form',
'method' => 'get',

]); echo $form->textInput($searchModel, 'id'); echo CHtml::submitButton('Find', ['class' => 'btn btn-primary']); $this->endWidget(); `

7 2
41 followers
Viewed: 64 436 times
Version: all
Category: Tips

Yii registry, how to use it, does it exist at all?

Created 13 years ago by dckurushin dckurushin, updated 12 years ago by resurtm resurtm.

If you coming to Yii with experience with Zend Framework for example, most likely you get used to

Zend_Registry::get('paramName');
Zend_Registry::set('paramName');
6 0
9 followers
Viewed: 38 602 times
Version: 1.1
Category: How-tos