00001 <?php 00002 00006 class Article_Userdef extends oxAdminDetails 00007 { 00008 00015 public function render() 00016 { 00017 parent::render(); 00018 00019 $oArticle = oxNew("oxarticle"); 00020 $this->_aViewData["edit"] = $oArticle; 00021 00022 $soxId = $this->getEditObjectId(); 00023 if ($soxId != "-1" && isset($soxId)) { 00024 00025 // load object 00026 $oArticle->load($soxId); 00027 } 00028 00029 return "article_userdef.tpl"; 00030 } 00031 }