mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
|
|
@ -16,63 +16,41 @@
|
|||
function _loadFromDB() {
|
||||
if(!$this->document_srl) return;
|
||||
parent::_loadFromDB();
|
||||
|
||||
$this->add('postscript', $this->get('extra_vars20'));
|
||||
}
|
||||
|
||||
function setAttribute($attribute) {
|
||||
parent::setAttribute($attribute);
|
||||
$this->add('postscript', $attribute->extra_vars20);
|
||||
}
|
||||
|
||||
|
||||
function getWriteInfo() {
|
||||
static $planet_info = array();
|
||||
if(!isset($planet_info[$this->get('module_srl')])) {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
$info = $planet_info[$this->get('module_srl')] = $oPlanetModel->getPlanet($this->get('module_srl'));
|
||||
$this->add('planet_title', $info->getBrowserTitle());
|
||||
$this->add('nick_name', $info->getNickName());
|
||||
$this->add('user_name', $info->getUserName());
|
||||
$this->add('user_id', $info->getUserID());
|
||||
$this->add('planet_title', $info->getPlanetTitle());
|
||||
$this->add('mid', $info->getMid());
|
||||
}
|
||||
}
|
||||
|
||||
function getPlanetPhotoSrc($width=96,$height=96) {
|
||||
$oPlanetModel = &getModel('planet');
|
||||
return $oPlanetModel->getPlanetPhotoSrc($this->get('module_srl'), $width, $height);
|
||||
}
|
||||
|
||||
function getPlanetMid() {
|
||||
$this->getWriteInfo();
|
||||
return $this->get('mid');
|
||||
}
|
||||
|
||||
function getPlanetTitle() {
|
||||
$this->getWriteInfo();
|
||||
return $this->get('planet_title');
|
||||
}
|
||||
|
||||
function getUserID() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getUserID();
|
||||
}
|
||||
|
||||
function getUserName() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getUserName();
|
||||
}
|
||||
|
||||
function getNickName() {
|
||||
$this->getWriteInfo();
|
||||
return parent::getNickName();
|
||||
}
|
||||
|
||||
|
||||
function getPostScript() {
|
||||
return $this->get('postscript');
|
||||
return $this->getExtraValue(20);
|
||||
}
|
||||
|
||||
function getContent() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue