mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
확장변수 이름(eid)으로 출력하는 함수 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6125 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
dc16d275ee
commit
5ae580e859
1 changed files with 18 additions and 0 deletions
|
|
@ -414,6 +414,24 @@
|
|||
|
||||
}
|
||||
|
||||
function getExtraEidValue($eid) {
|
||||
$extra_vars = $this->getExtraVars();
|
||||
// eid 명칭으로 확장변수 처리
|
||||
foreach($extra_vars as $idx => $key) {
|
||||
$extra_eid[$key->eid] = $key;
|
||||
}
|
||||
return $extra_eid[$eid]->value;
|
||||
}
|
||||
|
||||
function getExtraEidValueHTML($eid) {
|
||||
$extra_vars = $this->getExtraVars();
|
||||
// eid 명칭으로 확장변수 처리
|
||||
foreach($extra_vars as $idx => $key) {
|
||||
$extra_eid[$key->eid] = $key;
|
||||
}
|
||||
return $extra_eid[$eid]->getValueHTML();
|
||||
}
|
||||
|
||||
function getExtraVarsValue($key) {
|
||||
$extra_vals = unserialize($this->get('extra_vars'));
|
||||
$val = $extra_vals->$key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue