Minahito
minah****@users*****
2006年 1月 12日 (木) 20:21:32 JST
Index: xoops2jp/html/modules/legacyRender/class/theme.php diff -u /dev/null xoops2jp/html/modules/legacyRender/class/theme.php:1.1.2.1 --- /dev/null Thu Jan 12 20:21:32 2006 +++ xoops2jp/html/modules/legacyRender/class/theme.php Thu Jan 12 20:21:32 2006 @@ -0,0 +1,21 @@ +<?php + +class LegacyRenderThemeObject extends XoopsSimpleObject +{ + function LegacyRenderThemeObject() + { + $this->initVar('id', XOBJ_DTYPE_INT, '', true); + $this->initVar('name', XOBJ_DTYPE_STRING, '', true, 255); + $this->initVar('tplset_id', XOBJ_DTYPE_INT, '0', true); + $this->initVar('enable_select', XOBJ_DTYPE_BOOL, '0', true); + } +} + +class LegacyRenderThemeHandler extends XoopsObjectGenericHandler +{ + var $mTable = "theme"; + var $mPrimary = "id"; + var $mClass = "LegacyRenderThemeObject"; +} + +?> Index: xoops2jp/html/modules/legacyRender/class/tplset.php diff -u /dev/null xoops2jp/html/modules/legacyRender/class/tplset.php:1.1.2.1 --- /dev/null Thu Jan 12 20:21:32 2006 +++ xoops2jp/html/modules/legacyRender/class/tplset.php Thu Jan 12 20:21:32 2006 @@ -0,0 +1,21 @@ +<?php + +class LegacyRenderTplsetObject extends XoopsSimpleObject +{ + function LegacyRenderTplsetObject() + { + $this->initVar('tplset_id', XOBJ_DTYPE_INT, '', true); + $this->initVar('name', XOBJ_DTYPE_STRING, '', true, 255); + $this->initVar('desc', XOBJ_DTYPE_STRING, '', false, 255); + $this->initVar('lock', XOBJ_DTYPE_BOOL, '0', true); + } +} + +class LegacyRenderTplsetHandler extends XoopsObjectGenericHandler +{ + var $mTable = "tplset"; + var $mPrimary = "tplset_id"; + var $mClass = "LegacyRenderTplsetObject"; +} + +?> Index: xoops2jp/html/modules/legacyRender/class/tplfile.php diff -u /dev/null xoops2jp/html/modules/legacyRender/class/tplfile.php:1.1.2.1 --- /dev/null Thu Jan 12 20:21:32 2006 +++ xoops2jp/html/modules/legacyRender/class/tplfile.php Thu Jan 12 20:21:32 2006 @@ -0,0 +1,24 @@ +<?php + +class LegacyRenderTplfileObject extends XoopsSimpleObject +{ + function LegacyRenderTplfileObject() + { + $this->initVar('tplfile_id', XOBJ_DTYPE_INT, '', true); + $this->initVar('tplset_id', XOBJ_DTYPE_INT, '0', true); + $this->initVar('dirname', XOBJ_DTYPE_STRING, '', true, 25); + $this->initVar('filename', XOBJ_DTYPE_STRING, '', true, 255); + $this->initVar('enable_cache', XOBJ_DTYPE_BOOL, '1', true); + $this->initVar('tpl_type', XOBJ_DTYPE_INT, '0', true); + $this->initVar('source', XOBJ_DTYPE_TEXT, '', true); + } +} + +class LegacyRenderTplfileHandler extends XoopsObjectGenericHandler +{ + var $mTable = "tplfile"; + var $mPrimary = "tplfile_id"; + var $mClass = "LegacyRenderTplfileObject"; +} + +?>