public function buildDownloaderBehaviour()
    {
        $returnValue = (string) '';
        
        $downloadButtonId = $this->buildDownloadButtonId();
        $iFrameId = $this->buildIframeId();
        $serial = $this->value->getFileSerial();
        
        $returnValue .= '$(document).ready(function() {';
        $returnValue .= '	$("#' . $downloadButtonId . '").click(function() {';
        $returnValue .= '		$("#' . $iFrameId . '").attr("src", ' . json_encode(_url('downloadFile', 'File', 'tao', array(
            'id' => $serial))) . ')';
        $returnValue .= '	});';
        $returnValue .= '});';
        
        return (string) $returnValue;
    }
public function buildDownloaderBehaviour()
    {
        $returnValue = (string) '';
        
        $downloadButtonId = $this->buildDownloadButtonId();
        $iFrameId = $this->buildIframeId();
        $serial = $this->value->getFileSerial();
        
        $returnValue .= '$(document).ready(function() {';
        $returnValue .= '	$("#' . $downloadButtonId . '").click(function() {';
        $returnValue .= '		$("#' . $iFrameId . '").attr("src", ' . json_encode(_url('downloadFile', 'File', 'tao', array(
            'id' => $serial))) . ')';
        $returnValue .= '	});';
        $returnValue .= '});';
        
        return (string) $returnValue;
    }
public function buildDownloaderBehaviour ( ) { $ returnValue = ( string ) '' ; $ downloadButtonId = $ this -> buildDownloadButtonId ( ) ; $ iFrameId = $ this -> buildIframeId ( ) ; $ serial = $ this -> value -> getFileSerial ( ) ; $ returnValue .= '$(document).ready(function() {' ; $ returnValue .= '	$("#' . $ downloadButtonId . '").click(function() {' ; $ returnValue .= '		$("#' . $ iFrameId . '").attr("src", ' . json_encode ( _url ( 'downloadFile' , 'File' , 'tao' , array ( 'id' => $ serial ) ) ) . ')' ; $ returnValue .= '	});' ; $ returnValue .= '});' ; return ( string ) $ returnValue ; }
Short description of method buildDownloaderBehaviour

@access public
@author Jerome Bogaerts, <jerome@taotesting.com>
@return string
Short description of method buildDownloaderBehaviour