user_article.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class User_Article extends oxAdminDetails
00009 {
00010 
00017     public function render()
00018     {
00019         parent::render();
00020 
00021         $soxId = $this->getEditObjectId();
00022         if ($soxId && $soxId != '-1') {
00023             // load object
00024             $oArticlelist = oxNew('oxorderarticlelist');
00025             $oArticlelist->loadOrderArticlesForUser($soxId);
00026 
00027             $this->_aViewData['oArticlelist'] = $oArticlelist;
00028         }
00029 
00030         return 'user_article.tpl';
00031     }
00032 }