00001 <?php
00002
00009 class User_Article extends oxAdminDetails
00010 {
00017 public function render()
00018 {
00019 parent::render();
00020
00021 $soxId = oxConfig::getParameter( 'oxid' );
00022 if ( $soxId && $soxId != '-1' ) {
00023
00024 $oArticlelist = oxNew( 'oxorderarticlelist' );
00025 $oArticlelist->loadOrderArticlesForUser($soxId);
00026
00027
00028 foreach ( $oArticlelist as $oItem ) {
00029 $oItem->oxarticles__oxid = new oxField($oItem->oxorderarticles__oxartid->value);
00030 }
00031
00032 $this->_aViewData['oArticlelist'] = $oArticlelist;
00033 }
00034
00035 return 'user_article.tpl';
00036 }
00037 }