src/Easy/Element/FileUploader.php
function setValue($value)
    {
        if($this->deleteable=='N')
    	{

    	}
    	else
    	{
    		$delete_user_opt= Openbizx::$app->getClientProxy()->getFormInputs($this->objectName."_DELETE");
    		if($delete_user_opt)
    		{
    			$this->value="";
    			return;
    		}
    		else
    		{
    			if(count($_FILES)>0){
    				
    			}else{
    				$this->value = $value;
    			}   
    		} 
    	}
    	if(count($_FILES)>0)
		{
			if(!$this->uploaded && $_FILES[$this->objectName]["size"] > 0)
			{
				$file = $_FILES[$this->objectName];

				if(!is_dir($this->uploadRoot.$this->uploadFolder))
				{
					mkdir($this->uploadRoot.$this->uploadFolder ,0777,true);
				}
				if($this->useRawName){
					$uploadFile = $this->uploadFolder."/".$file['name'];
				}else{
					$uploadFile = $this->uploadFolder."/".date("YmdHis")."-".md5($file['name']);
				}
				if($this->uploadFileType){
					$pattern = "/".$this->uploadFileType."$/si";
					if(!preg_match($pattern,$file['name'])){
						return;
					}	                		                	
				}
				if(move_uploaded_file($file['tmp_name'], $this->uploadRoot.$uploadFile))
				{
					$this->value = $this->uploadRootURL.$uploadFile;
					$this->uploaded=true;
				}	                	                
				return $uploadFile;		
			}
		}    	
    }
function setValue($value)
    {
        if($this->deleteable=='N')
    	{

    	}
    	else
    	{
    		$delete_user_opt= Openbizx::$app->getClientProxy()->getFormInputs($this->objectName."_DELETE");
    		if($delete_user_opt)
    		{
    			$this->value="";
    			return;
    		}
    		else
    		{
    			if(count($_FILES)>0){
    				
    			}else{
    				$this->value = $value;
    			}   
    		} 
    	}
    	if(count($_FILES)>0)
		{
			if(!$this->uploaded && $_FILES[$this->objectName]["size"] > 0)
			{
				$file = $_FILES[$this->objectName];

				if(!is_dir($this->uploadRoot.$this->uploadFolder))
				{
					mkdir($this->uploadRoot.$this->uploadFolder ,0777,true);
				}
				if($this->useRawName){
					$uploadFile = $this->uploadFolder."/".$file['name'];
				}else{
					$uploadFile = $this->uploadFolder."/".date("YmdHis")."-".md5($file['name']);
				}
				if($this->uploadFileType){
					$pattern = "/".$this->uploadFileType."$/si";
					if(!preg_match($pattern,$file['name'])){
						return;
					}	                		                	
				}
				if(move_uploaded_file($file['tmp_name'], $this->uploadRoot.$uploadFile))
				{
					$this->value = $this->uploadRootURL.$uploadFile;
					$this->uploaded=true;
				}	                	                
				return $uploadFile;		
			}
		}    	
    }
Set value of element

@param mixed $value
@return string