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

   1  <?php
   2  
   3      lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
   4      lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
   5  
   6      /**
   7       * \ingroup Action
   8       * @private
   9       *
  10       * Action that shows an empty admin page, just in case... :)
  11       */
  12      class AdminEmptyAction extends AdminAction 
  13      {
  14  
  15          /**
  16           * Constructor. If nothing else, it also has to call the constructor of the parent
  17           * class, BlogAction with the same parameters
  18           */
  19          function AdminEmptyAction( $actionInfo, $request )
  20          {
  21              $this->AdminAction( $actionInfo, $request );
  22          }
  23  
  24          /**
  25           * Carries out the specified action
  26           */
  27          function perform()
  28          {
  29              // initialize the view
  30              $this->_view = new AdminTemplatedView( $this->_blogInfo, "main" );
  31              $this->setCommonData();
  32  
  33              // better to return true if everything fine
  34              return true;
  35          }
  36      }
  37  ?>


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