user_article.php

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

Generated on Wed Apr 22 12:26:30 2009 for OXID eShop CE by  doxygen 1.5.5