display a dropDownList with sort link for CSort class
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
RSortDropDownListWidget.php
changelog.txt
readme_en.txt
readme_ru.txt

README.md

RSortDropDownListWidget

RSortDropDownListWidget display a dropDownList with sort link for CSort class

Using:

[php]
$this->widget('ext.RSortDropDownListWidget.RSortDropDownListWidget', array(
	'sort'=>$sort,
	'labels'=>array(
		'product_price'=>array(
			'asc'=>'Price up',
			'deck'=>'Price down',
		),
		'product_title'=>array(
			'asc'=>'Alpabet',
			'deck'=>'Alpabet deck',
		),
	),
));