This widget is used to add a link or a button in a view and text copy to clipboard. This extension uses a plugin for jquery called ZeroClipboard by http://steamdev.com.
- Yii 1.6 or above.
You have to download and upload files to /protected/extensions/Ezclip/.
Implementation: Add this code to a view.
$this->widget( 'ext.EZClip.EZClip', array( "type" => "input", //Type of HTML object eg. input, default is "textarea". "idSelector" => "idText", //Id of HTML object. ));