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

   1  <?php
   2        /**
   3         * GLobal artical Category files added by Ameng(Ameng.vVlogger.com) 2005-06-20
   4         * version 1.0 
   5         * Changed from original article category.
   6         */
   7       
   8  
   9      lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
  10      lt_include( PLOG_CLASS_PATH."class/view/admin/admintemplatedview.class.php" );
  11  
  12      /**
  13       * \ingroup Action
  14       * @private
  15       *
  16       * Action that adds a new category for the articles to the database
  17       */
  18      class AdminNewGlobalArticleCategoryAction extends AdminAction 
  19      {
  20  
  21          /**
  22           * Constructor. If nothing else, it also has to call the constructor of the parent
  23           * class, BlogAction with the same parameters
  24           */
  25          function AdminNewGlobalArticleCategoryAction( $actionInfo, $request )
  26          {
  27              $this->AdminAction( $actionInfo, $request );
  28  
  29              $this->requireAdminPermission( "add_global_category" );
  30          }
  31  
  32          /**
  33           * Carries out the specified action
  34           */
  35          function perform()
  36          {
  37              // initialize the view
  38            $this->_view = new AdminTemplatedView( $this->_blogInfo, "newglobalarticlecategory" );
  39            $this->setCommonData();
  40          }
  41      }
  42  ?>


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