|
@@ -299,6 +299,12 @@ EOS;
|
|
|
*/
|
|
*/
|
|
|
function genViewRowValue(&$aInput)
|
|
function genViewRowValue(&$aInput)
|
|
|
{
|
|
{
|
|
|
|
|
+ if (!empty($aInput['name'])) {
|
|
|
|
|
+ $sCustomMethod = 'genCustomViewRowValue' . $this->_genMethodName($aInput['name']);
|
|
|
|
|
+ if (method_exists($this, $sCustomMethod))
|
|
|
|
|
+ return $this->$sCustomMethod($aInput);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
switch ($aInput['type']) {
|
|
switch ($aInput['type']) {
|
|
|
|
|
|
|
|
case 'hidden':
|
|
case 'hidden':
|
|
@@ -343,6 +349,10 @@ EOS;
|
|
|
$sValue = null;
|
|
$sValue = null;
|
|
|
break;
|
|
break;
|
|
|
|
|
|
|
|
|
|
+ case 'custom':
|
|
|
|
|
+ $sValue = isset($aInput['content']) && '' !== $aInput['content'] ? bx_process_output($aInput['content'], BX_DATA_HTML) : null;
|
|
|
|
|
+ break;
|
|
|
|
|
+
|
|
|
default:
|
|
default:
|
|
|
$sValue = isset($aInput['value']) && '' !== $aInput['value'] ? bx_process_output($aInput['value']) : null;
|
|
$sValue = isset($aInput['value']) && '' !== $aInput['value'] ? bx_process_output($aInput['value']) : null;
|
|
|
}
|
|
}
|