container->pSet->getFilenameField($this->field);
if($fileNameF)
{
$fileName = $data[$fileNameF];
if(!$fileName)
$fileName = "file.bin";
}
else
$fileName = "file.bin";
if( strlen($data[$this->field]) )
{
$value = "";
$value.= runner_htmlspecialchars($fileName);
$value.= "";
}
return $value;
}
/**
* @param &Array data
* @return String
*/
public function getTextValue(&$data)
{
if( !strlen( $data[ $this->field ] ) )
return "";
$fileNameField = $this->container->pSet->getFilenameField( $this->field );
if( $fileNameField && $data[ $fileNameField ] )
return $data[ $fileNameField ];
return "<>";
}
/**
* Get the field's content that will be exported
* @prarm &Array data
* @prarm String keylink
* @return String
*/
public function getExportValue(&$data, $keylink = "")
{
return mlang_message("LONG_BINARY");
}
}
?>