mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 23:32:54 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1541 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f2e47e336d
commit
2de087f399
51 changed files with 3495 additions and 130 deletions
28
modules/poll/poll.admin.model.php
Normal file
28
modules/poll/poll.admin.model.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* @class pollAdminModel
|
||||
* @author zero (zero@nzeo.com)
|
||||
* @brief poll 모듈의 admin model class
|
||||
**/
|
||||
|
||||
class pollAdminModel extends poll {
|
||||
|
||||
/**
|
||||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 설문 목록 구해옴
|
||||
**/
|
||||
function getPollList($args) {
|
||||
$output = executeQuery('poll.getPollList', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
if($output->data && !is_array($output->data)) $output->data = array($output->data);
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue