OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
article_userdef.php
Go to the documentation of this file.
1 <?php
2 
7 {
14  public function render()
15  {
17 
18  $oArticle = oxNew( "oxarticle" );
19  $this->_aViewData["edit"] = $oArticle;
20 
21  $soxId = $this->getEditObjectId();
22  if ( $soxId != "-1" && isset( $soxId ) ) {
23 
24  // load object
25  $oArticle->load( $soxId );
26  }
27 
28  return "article_userdef.tpl";
29  }
30 }