[ 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/ -> adminresourcealbumsaction.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/adminresourcealbumslistview.class.php" );
   5  
   6      /**
   7       * \ingroup Action
   8       * @private
   9       *
  10       * shows a list of the albums
  11       */
  12      class AdminResourceAlbumsAction extends AdminAction
  13      {
  14          var $_albumId;
  15  
  16          /**
  17           * Constructor. If nothing else, it also has to call the constructor of the parent
  18           * class, BlogAction with the same parameters
  19           */
  20          function AdminResourceAlbumsAction( $actionInfo, $request )
  21          {
  22              $this->AdminAction( $actionInfo, $request );
  23          }
  24  
  25          /**
  26           * Carries out the specified action
  27           */
  28          function perform()
  29          {
  30              $this->_albumId = $this->_request->getValue( "albumId" );
  31              if( $this->_albumId == "" || $this->_albumId == null )
  32                  $this->_albumId = 0;        
  33          
  34              $this->_view = new AdminResourceAlbumsListView( $this->_blogInfo, Array( "albumId" => $this->_albumId ));
  35              $this->setCommonData();
  36  
  37              return true;
  38          }
  39      }
  40  ?>


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