mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
#19705602 document column parameter modify.
comment column parameter modify. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8336 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ef9f94e0da
commit
de414300a8
6 changed files with 35 additions and 23 deletions
|
|
@ -11,11 +11,13 @@
|
|||
var $lang_code = null;
|
||||
|
||||
var $allow_trackback_status = null;
|
||||
var $columnList = array();
|
||||
|
||||
function documentItem($document_srl = 0, $load_extra_vars = true, $columnList = array()) {
|
||||
$this->document_srl = $document_srl;
|
||||
$this->columnList = $columnList;
|
||||
|
||||
$this->_loadFromDB($load_extra_vars, $columnList);
|
||||
$this->_loadFromDB($load_extra_vars);
|
||||
}
|
||||
|
||||
function setDocument($document_srl, $load_extra_vars = true) {
|
||||
|
|
@ -23,11 +25,11 @@
|
|||
$this->_loadFromDB($load_extra_vars);
|
||||
}
|
||||
|
||||
function _loadFromDB($load_extra_vars = true, $columnList = array()) {
|
||||
function _loadFromDB($load_extra_vars = true) {
|
||||
if(!$this->document_srl) return;
|
||||
|
||||
$args->document_srl = $this->document_srl;
|
||||
$output = executeQuery('document.getDocument', $args, $columnList);
|
||||
$output = executeQuery('document.getDocument', $args, $this->columnList);
|
||||
|
||||
$this->setAttribute($output->data,$load_extra_vars);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue