[ 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/ -> templateview.class.php (source)

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/view/blogview.class.php" );
   4      lt_include( PLOG_CLASS_PATH."class/template/templatesets/templatesets.class.php" );
   5      
   6      /**
   7       * \ingroup View
   8       * @private
   9       *
  10       * Loads the given template. The only difference between this class and all
  11       * the other views is that this one receives as a parameter from the TemplateAction
  12       * class the name of the template to load, and then renders it.
  13       * The TemplateAction action takes care of rendering non-standard templates.
  14       */
  15      class TemplateView extends BlogView 
  16      {
  17  
  18          var $_templateFile;
  19  
  20          /**
  21           * Constructor.
  22           *
  23           * @param blogInfo The BlogInfo object carrying information about the blog we are
  24           * rendering the template for. It is required by the constructor of the class
  25           * BlogView.
  26           * @param templateFile The filename of the template to load.
  27           */
  28      	function TemplateView( $blogInfo, $templateFile, $data = Array())
  29          {
  30              $this->BlogView( $blogInfo, $templateFile, SMARTY_VIEW_CACHE_CHECK, $data  );
  31          }
  32      }
  33  ?>


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