[ 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/ -> adminstatisticsaction.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/adminreferrersview.class.php" );
   5      lt_include( PLOG_CLASS_PATH."class/data/validator/integervalidator.class.php" );
   6  
   7      /**
   8       * \ingroup Action
   9       * @private
  10       *
  11       * Action that shows statistics
  12       */
  13      class AdminStatisticsAction extends AdminAction 
  14      {
  15      
  16          var $_page;
  17  
  18          /**
  19           * Constructor. If nothing else, it also has to call the constructor of the parent
  20           * class, BlogAction with the same parameters
  21           */
  22          function AdminStatisticsAction( $actionInfo, $request )
  23          {
  24              $this->AdminAction( $actionInfo, $request );
  25  
  26              $this->requirePermission( "view_blog_stats" );
  27          }
  28          
  29          /**
  30           * Carries out the specified action
  31           */
  32          function perform()
  33          {
  34              // create the view
  35              $this->_view = new AdminReferrersView( $this->_blogInfo );
  36              $this->setCommonData();
  37  
  38              // better to return true if everything fine
  39              return true;
  40          }
  41      }
  42  ?>


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