getExtraValue, getExtraEidValue 함수 사용시 값 필터링이 되지 않는 문제를 수정합니다.
This commit is contained in:
xedev 2015-07-13 10:22:19 +09:00
parent 8888d04bcb
commit a8b594b975
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 * Returns a value for HTML
* *

View file

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