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 = $this->getEditObjectId();
00021         if ( $soxId && $soxId != '-1' ) {
00022             // load object
00023             $oArticlelist = oxNew( 'oxorderarticlelist' );
00024             $oArticlelist->loadOrderArticlesForUser($soxId);
00025 
00026             $this->_aViewData['oArticlelist'] =  $oArticlelist;
00027         }
00028 
00029         return 'user_article.tpl';
00030     }
00031 }