Merge pull request #1621 from YJSoft/secissue/extravar

SECISSUE
This commit is contained in:
bnu 2015-07-13 11:14:48 +09:00
commit a797b7feb0
2 changed files with 12 additions and 2 deletions

View file

@ -289,6 +289,16 @@ class ExtraItem
}
}
/**
* Returns a value for HTML
*
* @return string Returns a value expressed in HTML.
*/
function getValue()
{
return $this->_getTypeValue($this->type, $this->value);
}
/**
* Returns a value for HTML
*

View file

@ -651,7 +651,7 @@ class documentItem extends Object
function getExtraValue($idx)
{
$extra_vars = $this->getExtraVars();
return $extra_vars[$idx]->value;
return $extra_vars[$idx]->getValue();
}
function getExtraValueHTML($idx)
@ -679,7 +679,7 @@ class documentItem extends Object
$extra_eid[$key->eid] = $key;
}
}
return $extra_eid[$eid]->value;
return $extra_eid[$eid]->getValue();
}
function getExtraEidValueHTML($eid)