mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Enhance poll v.2
https://github.com/xetown/xe-core/issues/24 - multilangual support - methods names - some enhancements
This commit is contained in:
parent
563ba0f753
commit
f870b768ac
6 changed files with 54 additions and 16 deletions
|
|
@ -115,12 +115,18 @@ class poll extends ModuleObject
|
|||
{
|
||||
}
|
||||
|
||||
function isCangetMemberInfo($type)
|
||||
/**
|
||||
* @brief Check if this poll could display member information
|
||||
*/
|
||||
function checkMemberInfo($type)
|
||||
{
|
||||
return ($type==1 || $type==3);
|
||||
}
|
||||
|
||||
function isCanAddItem($type)
|
||||
/**
|
||||
* @brief Check if the items of this poll could be added by members.
|
||||
*/
|
||||
function isAbletoAddItem($type)
|
||||
{
|
||||
return ($type==2 || $type==3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue