[ 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/ -> admineditglobalarticlecategoriesaction.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        lt_include( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
   8        lt_include( PLOG_CLASS_PATH."class/view/admin/adminglobalarticlecategorieslistview.class.php" );
   9  
  10      /**
  11       * \ingroup Action
  12       * @private
  13       *
  14       * Action that shows a form to add a link for the blogroll feature
  15       */
  16      class AdminEditGlobalArticleCategoriesAction extends AdminAction 
  17      {
  18  
  19          /**
  20           * Constructor. If nothing else, it also has to call the constructor of the parent
  21           * class, BlogAction with the same parameters
  22           */
  23          function AdminEditGlobalArticleCategoriesAction( $actionInfo, $request )
  24          {
  25              $this->AdminAction( $actionInfo, $request );
  26              
  27              $this->_searchTerms = $this->_request->getValue( "searchTerms" );
  28              
  29              $this->requireAdminPermission( "view_global_categories" );
  30          }
  31  
  32          /**
  33           * Carries out the specified action
  34           */
  35          function perform()
  36          {
  37              // create the view, which will take care of fetching the right data
  38              $this->_view = new AdminGlobalArticleCategoriesListView( $this->_blogInfo, Array( "searchTerms" => $this->_searchTerms ));
  39              $this->setCommonData();
  40  
  41              // better to return true if everything fine
  42              return true;
  43          }
  44      }
  45  ?>


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