yii-tri-state-checkbox Three state checkbox input widget for Yii

  1. Requirements
  2. Usage
  3. Resources

This is a three state checkbox input widget for Yii.

Requirements

No special requirements.

Usage

1) Copy to extensions or widgets, as you wish. Then import it either manually or by adding to main.php config file imports.

Yii::import('ext.yii-tri-state-checkbox.*');

2) Call it in your views by providing model and attribute:

<?php $this->widget('CbTriStateCheckbox', array('model'=>$model,'attribute'=>'field_name')); ?>

Resources

0 0
1 follower
99 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: atrandafir
Created on: Feb 28, 2015
Last updated: 9 years ago

Downloads

show all

Related Extensions