countryselectorwidget Simple Country Selector Widget for Yii

  1. Usage
  2. Resources

CountrySelectorWidget is a simple widget for selecting a country.

Usage

$this->widget('ext.countrySelectorWidget', array(
    'value' => $model->country,
    'name' => Chtml::activeName($model, 'country'),
    'id' => Chtml::activeId($model, 'country'),
    'useCountryCode' => false,
    'defaultValue' => 'Japan',
    'firstEmpty' => false,
));

Resources

5 0
9 followers
903 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Tags: select, widget
Developed by: vol0da
Created on: Oct 28, 2011
Last updated: 8 years ago

Downloads

show all

Related Extensions