framework/web/widgets/CMultiFileUpload.php
public function run()
	{
		list($name,$id)=$this->resolveNameID();
		if(substr($name,-2)!=='[]')
			$name.='[]';
		if(isset($this->htmlOptions['id']))
			$id=$this->htmlOptions['id'];
		else
			$this->htmlOptions['id']=$id;
		$this->registerClientScript();
		echo CHtml::fileField($name,'',$this->htmlOptions);
	}
public function run()
	{
		list($name,$id)=$this->resolveNameID();
		if(substr($name,-2)!=='[]')
			$name.='[]';
		if(isset($this->htmlOptions['id']))
			$id=$this->htmlOptions['id'];
		else
			$this->htmlOptions['id']=$id;
		$this->registerClientScript();
		echo CHtml::fileField($name,'',$this->htmlOptions);
	}
public function run ( ) { list ( $ name , $ id ) = $ this -> resolveNameID ( ) ; if ( substr ( $ name , - 2 ) !== '[]' ) $ name .= '[]' ; if ( isset ( $ this -> htmlOptions [ 'id' ] ) ) $ id = $ this -> htmlOptions [ 'id' ] ; else $ this -> htmlOptions [ 'id' ] = $ id ; $ this -> registerClientScript ( ) ; echo CHtml :: fileField ( $ name , '' , $ this -> htmlOptions ) ; }
Runs the widget.
This method registers all needed client scripts and renders
the multiple file uploader.
Runs the widget . This method registers all needed client scripts and renders the multiple file uploader .