[ 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/ -> adminnewresourcealbumaction.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/adminnewalbumview.class.php" );
   5  
   6      /**
   7       * \ingroup Action
   8       * @private
   9       *
  10       * Adds a new album
  11       */
  12      class AdminNewResourceAlbumAction 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 AdminNewResourceAlbumAction( $actionInfo, $request )
  20          {
  21              $this->AdminAction( $actionInfo, $request );
  22              
  23              $this->requirePermission( "add_album" );
  24          }
  25  
  26          /**
  27           * Carries out the specified action
  28           */
  29          function perform()
  30          {
  31              $this->_view = new AdminNewAlbumView( $this->_blogInfo );
  32              $this->setCommonData();
  33              return true;
  34          }
  35      }
  36  ?>


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