mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix #1290 기존 스킨의 호환성을 위한 메소드 추가
This commit is contained in:
parent
2b6d6b9925
commit
ab712585d3
2 changed files with 10 additions and 0 deletions
|
|
@ -315,6 +315,11 @@ class commentItem extends BaseObject
|
|||
return escape($this->get('nick_name'), false);
|
||||
}
|
||||
|
||||
function getVote()
|
||||
{
|
||||
return $this->getMyVote();
|
||||
}
|
||||
|
||||
function getMyVote()
|
||||
{
|
||||
if(!$this->comment_srl) return false;
|
||||
|
|
|
|||
|
|
@ -476,6 +476,11 @@ class documentItem extends BaseObject
|
|||
return $cut_size ? cut_str($this->get('title'), $cut_size, $tail) : $this->get('title');
|
||||
}
|
||||
|
||||
function getVoted()
|
||||
{
|
||||
return $this->getMyVote();
|
||||
}
|
||||
|
||||
function getMyVote()
|
||||
{
|
||||
if(!$this->isExists())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue