[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/view/admin/ -> adminblogtemplatesetslistview.class.php (source)

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
   4      lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
   5      
   6      /**
   7       * \ingroup View
   8       * @private
   9       *    
  10       * shows a list with all the template sets that have been added to this blog
  11       */
  12      class AdminBlogTemplateSetsListView extends AdminTemplatedView
  13      {
  14      
  15  		function AdminBlogTemplateSetsListView( $blogInfo ) 
  16          {
  17              $this->AdminTemplatedView( $blogInfo, "blogtemplates" );
  18          }
  19          
  20  		function render()
  21          {
  22              $ts = new TemplateSets();
  23              // get all the template sets, without including the global ones
  24              $blogTemplateSets = $ts->getBlogTemplateSets( $this->_blogInfo->getId(), false );
  25              $this->setValue( "templates", $blogTemplateSets );
  26              
  27              parent::render();
  28          }
  29      }
  30  ?>


Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics