user_article.php

Go to the documentation of this file.
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             // load object
00024             $oArticlelist = oxNew( 'oxorderarticlelist' );
00025             $oArticlelist->loadOrderArticlesForUser($soxId);
00026 
00027             // setting needed data ..
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 }

Generated on Thu Dec 4 12:04:56 2008 for OXID eShop CE by  doxygen 1.5.5