article_userdef.php

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