// "<path to image>|[alttext]|[text behind]" renders to: <img src="<path to image>" alt="[alttext]">[text behind]
if(empty($columnValue))break;
...
...
@@ -656,24 +671,31 @@ class Report {
case"Q":
$newColumnName=$kv[1];
#if(!$newColumnName) throw new syntaxException ( "Missing a 'reserved column name' for parameter 'Q' in column 'F': $columnValue","",__FILE__,__LINE__,$this->fr_error);
if($newColumnName=='F')thrownewSyntaxReportException("Not allowed: 'F' as 'reserved column name' for parameter 'Q': $columnValue","",__FILE__,__LINE__,$this->fr_error);
if($newColumnName=='F')
thrownewSyntaxReportException("Not allowed: 'F' as 'reserved column name' for parameter 'Q': $columnValue",
"",__FILE__,__LINE__,$this->fr_error);
break;
case"Z":
$show=false;
// $show = false;
break;
case"T":
$striptags=TRUE;
break;
case"X":
$tag=$kv[1];
if(!$tag)thrownewSyntaxReportException("Missing the 'tag' parameter for 'X'): $columnValue","",__FILE__,__LINE__,$this->fr_error);
if(!$tag)
thrownewSyntaxReportException("Missing the 'tag' parameter for 'X'): $columnValue",
"",__FILE__,__LINE__,$this->fr_error);
break;
case"V":
$newFinalColumnName=$kv[1];
if(!$newFinalColumnName)thrownewSyntaxReportException("Missing the 'name' parameter for 'V': $columnValue","",__FILE__,__LINE__,$this->fr_error);
if(!$newFinalColumnName)
thrownewSyntaxReportException("Missing the 'name' parameter for 'V': $columnValue",
"",__FILE__,__LINE__,$this->fr_error);
break;
case'F':
thrownewSyntaxReportException("Qualifier 'F' is not allowed inside of a column with column name 'F': $columnValue","",__FILE__,__LINE__,$this->fr_error);
thrownewSyntaxReportException("Qualifier 'F' is not allowed inside of a column with column name 'F': $columnValue",
"",__FILE__,__LINE__,$this->fr_error);
break;
# Save every non 'F' qualifier for later usage
default:
...
...
@@ -681,6 +703,7 @@ class Report {
break;
}
}
# Check for needed action
# if(!$newColumnName) throw new syntaxException ( "Missing parameter 'Q' in column 'F': $columnValue","",__FILE__,__LINE__,$this->fr_error);